language: rust
sudo: false

rust:
  - 1.20.0
  - stable
  - beta
  - nightly

branches:
  only:
    - master

# the main build
script:
  - |
      cargo build --no-default-features &&
      cargo test --no-default-features &&
      cargo build &&
      cargo test
