Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Commit 781a66a

Browse files
committed
Add clippy to travis
1 parent c80276b commit 781a66a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ before_install:
5555
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig; fi
5656
- if [[ "$ARM" == "1" ]]; then rustup target add armv7-unknown-linux-gnueabihf; fi
5757
script:
58+
- if [ "$TRAVIS_RUST_VERSION" == "beta" ]; then
59+
rustup component add clippy;
60+
cargo clippy --release;
61+
fi
5862
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ] && [ "$GTK" == "3.14" ] && ! [ "$ARM" == "1" ]; then
5963
make regen_check;
6064
fi

0 commit comments

Comments
 (0)