Tag clippy build in travis build list

This commit is contained in:
David Tolnay 2018-09-15 10:12:16 -07:00
parent 261942922f
commit 51566fafce

View file

@ -9,6 +9,7 @@ matrix:
script: cargo build script: cargo build
- rust: 1.22.1 - rust: 1.22.1
- rust: nightly - rust: nightly
env: CLIPPY
script: | script: |
if rustup component add clippy-preview; then if rustup component add clippy-preview; then
cargo clippy -- -Dclippy cargo clippy -- -Dclippy