language: rust
sudo: false

rust:
- nightly
- beta
- stable
- 1.28.0

before_script:
- |
  pip install 'travis-cargo<0.2' --user &&
  export PATH=$HOME/.local/bin:$PATH

script:
- travis-cargo build
- travis-cargo test
# Criterion doesn't build on 1.28.0
- travis-cargo --skip 1.28.0 bench --features criterion
- travis-cargo doc -- --no-deps

after_success:
- travis-cargo --only nightly doc-upload
env:
  global:
  - TRAVIS_CARGO_NIGHTLY_FEATURE=""

notifications:
  email: false

language: rust
sudo: false

rust:
- nightly
- beta
- stable
- 1.28.0

before_script:
- |
  pip install 'travis-cargo<0.2' --user &&
  export PATH=$HOME/.local/bin:$PATH

script:
- travis-cargo build
- travis-cargo test
# Criterion doesn't build on 1.28.0
- travis-cargo --skip 1.28.0 bench -- --features criterion
- travis-cargo doc -- --no-deps

after_success:
- travis-cargo --only nightly doc-upload
env:
  global:
  - TRAVIS_CARGO_NIGHTLY_FEATURE=""

notifications:
  email: false

Fix running benchmarks on CI
Fix running benchmarks on CI
