Skip to content

Commit ce3478a

Browse files
committed
ci(travis): run clippy only in nightly
1 parent bdc3100 commit ce3478a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ env:
2626

2727
script:
2828
- rustup update
29-
- rustup component add clippy-preview
30-
- cargo clippy --all-targets --all-features -- -D warnings
29+
- if [[ $TRAVIS_RUST_VERSION == "nightly" ]];
30+
then rustup component add clippy-preview && cargo clippy --all-targets --all-features -- -D warnings;
31+
fi #FIXME: remove after next beta release
3132
- cargo test --all --verbose

0 commit comments

Comments
 (0)