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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user