language: rust rust: - stable - beta script: - cargo test --all cache: cargo matrix: include: - rust: nightly-2018-04-03 env: - CLIPPY_VERSION=0.0.191 before_script: - rustup component add rustfmt-preview - cargo install clippy --version $CLIPPY_VERSION || echo "clippy already installed" script: - cargo test --all-features