Skip to content

Commit

Permalink
Work around a cargo limitation on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
nox committed Oct 21, 2019
1 parent 8027a6a commit 7f2561f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
branches:
except:
- servo

- servo
language: rust
rust:
- nightly
- beta
- stable
- nightly
- beta
- stable
script: scripts/travis-build.sh
4 changes: 2 additions & 2 deletions scripts/travis-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ set -ex
if [ $TRAVIS_RUST_VERSION = nightly ]
then
cargo bench --all
cargo test -p html5ever --features "rustc-test/capture"
cargo test -p xml5ever --features "rustc-test/capture"
(cd html5ever && cargo test --features "rustc-test/capture")
(cd xml5ever && cargo test --features "rustc-test/capture")
else
cargo bench --all
cargo test --all
Expand Down

0 comments on commit 7f2561f

Please sign in to comment.