chore(nightly): remove ()'s and fix benchmarks for nightly

Also ensure that `cargo bench` runs successfully on travis; the old
`cargo bench ... || :` has the effect of ignoring any errors in it.
This commit is contained in:
Huon Wilson
2015-10-14 14:40:24 +11:00
parent cdaa2547ed
commit d2e9c94cf5
3 changed files with 14 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ cache:
script:
- cargo build --verbose $FEATURES
- cargo test --verbose $FEATURES
- '[ $TRAVIS_RUST_VERSION = nightly ] && cargo bench --no-run || :'
- 'if [ $TRAVIS_RUST_VERSION = nightly ]; then cargo bench --no-run; fi'
addons:
apt: