File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 7
7
- nightly
8
8
matrix :
9
9
include :
10
- - env : RUSTFMT
11
- rust : 1.25 .0 # `stable`: Locking down for consistent behavior
10
+ - name : check rustfmt
11
+ rust : 1.38 .0 # `stable`: Locking down for consistent behavior
12
12
install :
13
- - rustup component add rustfmt-preview
13
+ - rustup component add rustfmt
14
14
script :
15
- - cargo fmt -- --write-mode=diff
16
- - env : RUSTFLAGS=" -D warnings"
17
- rust : 1.25.0 # `stable`: Locking down for consistent behavior
18
- install :
15
+ - cargo fmt --all -- --check
16
+ - name : check with -D warnings
17
+ env : RUSTFLAGS="-D warnings"
18
+ rust : 1.38.0 # `stable`: Locking down for consistent behavior
19
19
script :
20
20
- cargo check --tests --all-features
21
- - env : CLIPPY_VERSION="0.0.179"
22
- rust : nightly-2018-01-12
21
+ - name : check clippy
22
+ rust : 1.38.0 # `stable`: Locking down for consistent behavior
23
23
install :
24
- - travis_wait cargo install clippy --version $CLIPPY_VERSION || echo "clippy already installed"
24
+ - rustup component add clippy
25
25
script :
26
- - cargo clippy --all- features -- -D clippy
26
+ - cargo clippy --all --all- features -- -D warnings
27
27
28
28
install :
29
29
- rustc -Vv
You can’t perform that action at this time.
0 commit comments