File tree 3 files changed +13
-5
lines changed
3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ install:
15
15
- if NOT "%TARGET%" == "x86_64-pc-windows-msvc" rustup target add %TARGET%
16
16
- rustc -vV
17
17
- cargo -vV
18
+ - cargo install clippy
18
19
19
20
build : false
20
21
21
22
test_script :
22
- - cargo test --target %TARGET%
23
- - cargo test --target %TARGET% --release
23
+ - C:\msys64\usr\bin\sh ci\run.sh
24
24
25
25
branches :
26
26
only :
Original file line number Diff line number Diff line change @@ -16,13 +16,20 @@ matrix:
16
16
script : ci/run.sh
17
17
- install : true
18
18
script : ci/dox.sh
19
-
19
+ - env : CLIPPY=On TARGET=x86_64-unknown-linux-gnu NO_ADD=1
20
+ allow_failures :
21
+ - env : CLIPPY=On TARGET=x86_64-unknown-linux-gnu NO_ADD=1
20
22
install :
21
- - if [ "$NO_ADD" = "" ]; then rustup target add $TARGET; fi
23
+ - if [ "$NO_ADD" == "" ]; then rustup target add $TARGET; fi
22
24
23
25
script :
24
26
- cargo generate-lockfile
25
- - ci/run-docker.sh $TARGET
27
+ - if [[ "${CLIPPY}" == "" ]]; then ci/run-docker.sh $TARGET; fi
28
+ - |
29
+ if [[ "${CLIPPY}" == "On" ]]; then
30
+ cargo install clippy
31
+ cargo clippy --all -- -D clippy-pedantic
32
+ fi
26
33
27
34
notifications :
28
35
email :
Original file line number Diff line number Diff line change 4
4
5
5
cargo test --target $TARGET
6
6
cargo test --release --target $TARGET
7
+ cargo clippy --all -- -D clippy-pedantic
You can’t perform that action at this time.
0 commit comments