sudo: false
language: rust
rust:
- 1.31.0 - stable
- beta
- nightly
matrix:
include:
- env: RUSTFMT
rust: 1.31.0 install:
- rustup component add rustfmt-preview
script:
- cargo fmt -- --check
- env: RUSTFLAGS="-D warnings"
rust: 1.31.0 script:
- cargo check --tests
- env: CLIPPY
rust: 1.41.0
install:
- rustup component add clippy
script:
- cargo clippy --all-features -- -D clippy::all
allow_failures:
- rust: nightly
fast_finish: true
install:
- rustc -Vv
- cargo -V
script:
- rm -rf target/debug/deps/*globwalk* - cargo test --verbose
cache:
cargo: true