Skip to content

Commit 7f2561f

Browse files
committed
Work around a cargo limitation on nightly
rust-lang/cargo#7507
1 parent 8027a6a commit 7f2561f

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
branches:
22
except:
3-
- servo
4-
3+
- servo
54
language: rust
65
rust:
7-
- nightly
8-
- beta
9-
- stable
6+
- nightly
7+
- beta
8+
- stable
109
script: scripts/travis-build.sh

scripts/travis-build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ set -ex
1313
if [ $TRAVIS_RUST_VERSION = nightly ]
1414
then
1515
cargo bench --all
16-
cargo test -p html5ever --features "rustc-test/capture"
17-
cargo test -p xml5ever --features "rustc-test/capture"
16+
(cd html5ever && cargo test --features "rustc-test/capture")
17+
(cd xml5ever && cargo test --features "rustc-test/capture")
1818
else
1919
cargo bench --all
2020
cargo test --all

0 commit comments

Comments
 (0)