Move tests and support utilities to sub crates. (#268)

These crates will not be published to crates.io, but moving them allows
`tower-h2` to also depend on the test utilities.
This commit is contained in:
Carl Lerche
2018-05-03 13:08:39 -07:00
committed by GitHub
parent 51f6a12454
commit 8a9dfd14dc
29 changed files with 135 additions and 33 deletions

View File

@@ -33,11 +33,11 @@ script:
# Check with unstable flag
- cargo check --features unstable
# Build the test executables
- cargo build --tests --features unstable
# Run tests, this includes lib tests and doc tests
- RUST_TEST_THREADS=1 cargo test
# Run tests
- RUST_TEST_THREADS=1 cargo test --features unstable
# Run integration tests
- cargo test -p h2-tests
# Run h2spec on stable
- if [ "${TRAVIS_RUST_VERSION}" = "stable" ]; then ./ci/h2spec.sh; fi