language: rust
sudo: false

cache: cargo

matrix:
  include:
    - rust: stable
    - rust: beta
    - rust: nightly
    # minimum rustc version
    - rust: 1.39.0
      script: cargo build

script:
  - cargo test --all
  - 'if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo test --benches; fi'

notifications:
  email:
    on_success: never
