diff options
Diffstat (limited to 'ci/script.sh')
-rw-r--r-- | ci/script.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ci/script.sh b/ci/script.sh index 8046774..7c30993 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -31,6 +31,15 @@ main() { if [ $TARGET = x86_64-unknown-linux-gnu ]; then ./check-blobs.sh fi + + if [ $TRAVIS_RUST_VERSION = nightly ]; then + # Get the latest nightly with a working clippy + rustup toolchain uninstall nightly + rustup set profile default + rustup default nightly + rustup target add $TARGET + cargo clippy --target $TARGET -- -D warnings + fi } main |