Skip to content

Commit c10c704

Browse files
committed
[ci] enable clippy
1 parent 46d64f0 commit c10c704

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.appveyor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ install:
1515
- if NOT "%TARGET%" == "x86_64-pc-windows-msvc" rustup target add %TARGET%
1616
- rustc -vV
1717
- cargo -vV
18+
- cargo install clippy
1819

1920
build: false
2021

.travis.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ matrix:
2121
script: |
2222
cargo install rustfmt-nightly
2323
cargo fmt --all -- --write-mode=diff
24+
- env: CLIPPY=On TARGET=x86_64-unknown-linux-gnu NO_ADD=1
25+
script: |
26+
cargo install clippy
27+
cargo clippy --all -- -D clippy-pedantic
2428
allow_failures:
2529
- env: RUSTFMT=On TARGET=x86_64-unknown-linux-gnu NO_ADD=1
26-
30+
- env: CLIPPY=On TARGET=x86_64-unknown-linux-gnu NO_ADD=1
2731
install:
2832
- if [ "$NO_ADD" == "" ]; then rustup target add $TARGET; fi
2933

0 commit comments

Comments
 (0)