language: rust
rust:
- stable
- beta
- nightly
script:
- cargo build --verbose
- cargo test --verbose
jobs:
allow_failures:
- rust: nightly
fast_finish: true
cache: cargo
before_cache:
- rm -rf "$TRAVIS_HOME/.cargo/registry/src"
⋮ # rest of your existing "before_cache"