3 You can add Clippy to Travis CI in the same way you use it locally:
11 - rustup component add clippy
14 # if you want the build job to fail when encountering warnings, use
15 - cargo clippy -- -D warnings
16 # in order to also check tests and non-default crate features, use
17 - cargo clippy --all-targets --all-features -- -D warnings