language: rust
sudo: false

# run builds for all the trains (and more)
rust:
  - 1.12.0
  - stable
  - beta
  - nightly

# the main build
script:
  - |
      cargo build &&
      cargo test &&
      cargo test --release &&
      cargo doc &&
      cargo bench

branches:
  only:
    - master
