File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ branches:
44 - servo
55
66language : rust
7- rust : nightly
7+ rust :
8+ - nightly
9+ - beta
10+ - stable
811script : scripts/travis-build.sh
912after_success : curl https://raw.githubusercontent.com/kmcallister/travis-doc-upload/master/travis-doc-upload.sh | sh
1013
Original file line number Diff line number Diff line change 1010
1111set -ex
1212
13+ # Test without unstable first, to make sure src/tree_builder/rules.expanded.rs is up-to-date.
1314cargo test --no-run
1415cargo test | ./scripts/shrink-test-output.py
1516r=${PIPESTATUS[0]}
1617if [ $r -ne 0 ]; then exit $r ; fi
1718
18- cargo test --manifest-path capi/Cargo.toml
19+ if [ $TRAVIS_RUST_VERSION = nightly ]
20+ then
21+ cargo test --no-run --features unstable
22+ cargo test --features unstable | ./scripts/shrink-test-output.py
23+ r=${PIPESTATUS[0]}
24+ if [ $r -ne 0 ]; then exit $r ; fi
25+
26+ cargo test --manifest-path capi/Cargo.toml
27+ fi
1928
2029cargo doc
You can’t perform that action at this time.
0 commit comments