Fix test specs... for real
This commit is contained in:
parent
c008658052
commit
07bb75bd79
2 changed files with 26 additions and 9 deletions
19
.travis.yml
19
.travis.yml
|
@ -19,13 +19,9 @@ env:
|
|||
- secure: "SsepHEYRmW9ee3RhxPpqGuPigZINFfA/yOwUJFseQt4t+Zs90r1xdl3Q8eDfPlnvBsL7Rd0QQrFDO7JUaimVLlgQkUnrl62o0CYzkodp+qtocyAHS00W6WTqi8Y6E6KBxPshCl03dRLaySUfx5TqTLTIHkJ0G6vDW35k7hRrA3221lRphs5rrpvAZ21pqsDsNLH3HVo792L6A0kOtBa3ocw1pgHLxnBbArIViu2htUuFvY/TgsmVbAdlow0efw/xkcJ/p0/r5q7igLek6Iqk8udfRc7CktvoiFQ2vUnhtNtQu/zYll3Q7OUx5d+w5lhbzz2QINmsezBEisH9k1haL7dMviLPp0pn4WZed60KovO0Iqfgjy1utTaKvJVfNWYsgkfU8c9a/z2rcZOKwXNKQW2ptBrtVjaB9dk7eMoyuFCDZwNtKqvG+ZKmvMpun+R8mmx+buOmN8Vlf5ygIoGxz3nbEtlLYGVTXHfdXXqRkFIwtiYVJEO7SLRKT9pbx1E++ARsi2+y8bXJT4e4z0osYMq9EsiFUpw3J2gcshrgseqkB7UgCZ3SXuitJnJNfDAU3a3nwwS/JiAunZMNnC4rKUBbl7WbTB4Cpw7EgVOlCqcyyzlkNl3xabLzTFzLOfSHLTVX5FmGNsD21vBoS5/8ejftx9wuV3rGHxuO3i3+A3k="
|
||||
|
||||
script:
|
||||
# Build all crates.
|
||||
- cargo build --all --verbose
|
||||
# Run all tests for all crates.
|
||||
- cargo test --all
|
||||
|
||||
# Build and run tests for main juniper crate with certain features.
|
||||
- cd juniper
|
||||
- cargo build --verbose
|
||||
- cargo build --verbose --features iron-handlers
|
||||
- |
|
||||
if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
|
||||
|
@ -47,6 +43,19 @@ script:
|
|||
fi
|
||||
|
||||
- cargo test --verbose --features "$TEST_FEATURES"
|
||||
- cd ..
|
||||
|
||||
# Build juniper_codegen and run tests.
|
||||
- cd juniper_codegen
|
||||
- cargo build --verbose
|
||||
- cargo test
|
||||
- cd ..
|
||||
|
||||
# Build and run integration tests.
|
||||
- cd juniper_tests
|
||||
- cargo build --verbose
|
||||
- cargo test
|
||||
|
||||
|
||||
|
||||
before_deploy:
|
||||
|
|
16
appveyor.yml
16
appveyor.yml
|
@ -48,10 +48,6 @@ install:
|
|||
build: false
|
||||
|
||||
test_script:
|
||||
# Build and test all crates.
|
||||
- cargo build --all --verbose
|
||||
- cargo test --all
|
||||
|
||||
# Build and test main juniper crate with certain features.
|
||||
- cd juniper
|
||||
- cargo build --verbose --features iron-handlers
|
||||
|
@ -66,3 +62,15 @@ test_script:
|
|||
- IF "%CHANNEL%"=="nightly" (set TEST_FEATURES=%TEST_FEATURES% rocket-handlers rocket/testing)
|
||||
|
||||
- cargo test --verbose --features "%TEST_FEATURES%"
|
||||
- cd ..
|
||||
|
||||
# Build juniper_codegen and run tests.
|
||||
- cd juniper_codegen
|
||||
- cargo build --verbose
|
||||
- cargo test
|
||||
- cd ..
|
||||
|
||||
# Build and run integration tests.
|
||||
- cd juniper_tests
|
||||
- cargo build --verbose
|
||||
- cargo test
|
||||
|
|
Loading…
Reference in a new issue