language: rust
sudo: false
addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev

# run builds for both all the trains
rust:
  - nightly
  - beta
  - stable

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

script:
  - |
      travis-cargo build &&
      travis-cargo test &&
      travis-cargo bench &&
      travis-cargo --only stable doc
  - cargo test --release
  - cd quickcheck && cargo test
after_success:
  - travis-cargo --only stable doc-upload
  - travis-cargo coveralls --no-sudo

env:
  global:
    - TRAVIS_CARGO_NIGHTLY_FEATURE="clippy"
    - secure: "OJEgCFljFj9PZpcwtSXh+j0RFAuutN3fC9iou73YYlsNznW7P6QS2RRAfg0cP4Sig5W5aqy85jMJwAI+dY2z+2AF/zVTOUmRPbIbxvEDPm2SYXUV1w+oeLhGf/8GY4OJ3BU5VEBPz4X3UhAmu4Xp/NyHRp9l3T0MYEMCIfFmaUM="
notifications:
  email: false

language: rust
sudo: false
addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev

# run builds for both all the trains
rust:
  - stable
  - beta
  - nightly

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

script:
  - |
      travis-cargo build &&
      travis-cargo test &&
      travis-cargo bench &&
      travis-cargo --only stable doc
  - cargo test --release
  - cd quickcheck && cargo test
after_success:
  - travis-cargo --only stable doc-upload
  - travis-cargo coveralls --no-sudo

env:
  global:
    - TRAVIS_CARGO_NIGHTLY_FEATURE="clippy"
    - secure: "OJEgCFljFj9PZpcwtSXh+j0RFAuutN3fC9iou73YYlsNznW7P6QS2RRAfg0cP4Sig5W5aqy85jMJwAI+dY2z+2AF/zVTOUmRPbIbxvEDPm2SYXUV1w+oeLhGf/8GY4OJ3BU5VEBPz4X3UhAmu4Xp/NyHRp9l3T0MYEMCIfFmaUM="
notifications:
  email: false

Reorder rust targets on Travis
chore(CI): Reorder rust targets on Travis
