language: rust
cache: cargo
rust:
  - stable
  - beta
  - nightly
matrix:
  allow_failures:
    - rust: nightly

sudo: false
addons:
  apt:
    packages:
      - libpam0g-dev

script:
  - cargo build --release --verbose
  - cargo test --verbose

notifications:
  email:
    on_success: never
