Add Clippy to CI

This commit is contained in:
Philipp Hansch 2018-07-29 15:41:54 +02:00
parent 13c6a5c4b0
commit 7e0a84c36f
No known key found for this signature in database
GPG key ID: B6FA06A6E0E2665B

View file

@ -8,6 +8,11 @@ matrix:
script:
- cargo fmt --all -- --write-mode=diff
- cargo test
- rust: nightly
before_script:
- rustup component add clippy-preview
script:
- cargo clippy
branches:
only: