language: rust
sudo: false
rust:
  - stable
  - beta
  - nightly
matrix:
  allow_failures:
    - rust: nightly
script:
  - cargo build
  - cargo package
  - cargo test
  - cargo doc

language: rust
sudo: false
rust:
  - stable
  - beta
  - nightly
matrix:
  allow_failures:
    - rust: nightly
script:
  - cargo clean
  - cargo build
  - cargo package
  - cargo test
  - cargo doc

Add `cargo clean` to Travis script to attempt to fix broken builds.
Add `cargo clean` to Travis script to attempt to fix broken builds.
