blob: 2b6192d7592a3ddb413af3333b1641bfae4783f7 [file] [log] [blame]
language: rust
sudo: false
cache: cargo
os:
- linux
- osx
rust:
- stable
- nightly
env:
- CLIPPY="true"
- CLIPPY=""
install:
- if [ -n "$CLIPPY" ]; then cargo install -f clippy; fi
matrix:
fast_finish: true
exclude:
- rust: stable
env: CLIPPY="true"
- rust: nightly
env: CLIPPY=""
allow_failures:
- rust: nightly
script:
- if [ -n "$CLIPPY" ]; then cargo clippy; fi
- if [ -z "$CLIPPY" ]; then cargo test; fi