Skip to content

Commit 44518fe

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@ env:
2727
script:
2828
- rustup update
2929
- rustup component add clippy-preview
30-
- cargo clippy --all-targets --all-features -- -D warnings
30+
- if [[ $TRAVIS_RUST_VERSION == "nightly" ]];
31+
then cargo clippy --all-targets --all-features -- -D warnings;
32+
fi #FIXME: remove after next beta release
3133
- cargo test --all --verbose

0 commit comments

Comments
 (0)