diff --git a/.travis.yml b/.travis.yml index 866d9138f4..425494e155 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: