language: rust
cache: cargo
rust:
- 1.32.0
branches:
only:
- master
before_script:
- rustup component add rustfmt-preview
script:
- cargo build --verbose
- cargo test --verbose
- cargo fmt -- --check
after_success:
- ./.travis_scripts/cmp-bench.sh