Add clippy job

This commit is contained in:
Matthias Beyer 2018-04-24 20:35:45 +02:00
parent 2ac4fa42b3
commit 8ae689863d

View file

@ -36,6 +36,14 @@ matrix:
script: script:
- cargo build --all --all-features -j 1 || exit 1 - cargo build --all --all-features -j 1 || exit 1
- cargo test --all --all-features -j 1 || exit 1 - cargo test --all --all-features -j 1 || exit 1
- language: rust
rust: nightly
allow_failure: true
cache:
cargo: true
script:
- cargo install clippy || exit 1
- cargo-clippy || exit 1
addons: addons: