language: rust
rust:
  - stable
  - beta
  - nightly

matrix:
  allow_failures:
    - rust: nightly

cache: cargo
before_cache:
  - chmod -R a+r $HOME/.cargo