language: rust
rust:
- stable
- beta
- nightly
script:
- |
if [[ $TRAVIS_RUST_VERSION == *stable* ]]
then
rustup component add rustfmt
cargo fmt --version
cargo fmt -- --check || (echo "Please reformat your code with 'cargo fmt' (version $(cargo fmt --version))"; false)
fi
- make all
- make travistest
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then make bench ; fi
env:
global:
- RUST_BACKTRACE=1
matrix:
-
- RELEASE=true
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/6d8e17dd2fa83b143168
on_success: change on_failure: change on_start: false