Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit d8937cb

Browse files
committed
Test on stable and beta.
1 parent 4d3365f commit d8937cb

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ before_install:
1414
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install gcc-4.7 g++-4.7; fi
1515
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 20; fi
1616
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.7 20; fi
17+
1718
rust:
1819
- nightly
19-
env:
20-
- FEATURES=""
21-
- FEATURES="plugins"
20+
- beta
21+
- stable
22+
2223
script:
23-
- cargo build --features "$FEATURES"
24-
- cargo test --features "$FEATURES"
24+
- cargo test
25+
- ([ $TRAVIS_RUST_VERSION != nightly ] || cargo test --features plugins)
26+
2527
notifications:
2628
webhooks: http://build.servo.org:54856/travis

0 commit comments

Comments
 (0)