File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ branches:
4
4
- servo
5
5
6
6
language : rust
7
- rust : nightly
7
+ rust :
8
+ - nightly
9
+ - beta
10
+ - stable
8
11
script : scripts/travis-build.sh
9
12
after_success : curl https://raw.githubusercontent.com/kmcallister/travis-doc-upload/master/travis-doc-upload.sh | sh
10
13
Original file line number Diff line number Diff line change 10
10
11
11
set -ex
12
12
13
+ # Test without unstable first, to make sure src/tree_builder/rules.expanded.rs is up-to-date.
13
14
cargo test --no-run
14
15
cargo test | ./scripts/shrink-test-output.py
15
16
r=${PIPESTATUS[0]}
16
17
if [ $r -ne 0 ]; then exit $r ; fi
17
18
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
19
28
20
29
cargo doc
You can’t perform that action at this time.
0 commit comments