diff --git a/.travis.yml b/.travis.yml index a8360cc8..ae971ab0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,8 @@ script: - cargo doc --verbose - cargo test --features heapsize - cargo test --features dummy_match_byte - - cargo bench --features bench - - cargo bench --features "bench dummy_match_byte" + - if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo bench --features bench; fi + - if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo bench --features "bench dummy_match_byte"; fi notifications: webhooks: http://build.servo.org:54856/travis