Skip to content

Commit 6105db6

Browse files
committed
Bench only in nightly.
1 parent a579c02 commit 6105db6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ script:
1010
- cargo doc --verbose
1111
- cargo test --features heapsize
1212
- cargo test --features dummy_match_byte
13-
- cargo bench --features bench
14-
- cargo bench --features "bench dummy_match_byte"
13+
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo bench --features bench; fi
14+
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo bench --features "bench dummy_match_byte"; fi
1515

1616
notifications:
1717
webhooks: http://build.servo.org:54856/travis

0 commit comments

Comments
 (0)