File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -83,18 +83,20 @@ Be sure that Clippy was compiled with the same version of rustc that cargo invok
83
83
You can add Clippy to Travis CI in the same way you use it locally:
84
84
85
85
``` yml
86
- - rust : stable
87
- - rust : beta
88
- before_script :
89
- - rustup component add clippy-preview
90
- script :
91
- - cargo clippy
92
- # if you want the build job to fail when encountering warnings, use
93
- - cargo clippy -- -D warnings
94
- # in order to also check tests and none-default crate features, use
95
- - cargo clippy --all-targets --all-features -- -D warnings
96
- - cargo test
97
- # etc.
86
+ language : rust
87
+ rust :
88
+ - stable
89
+ - beta
90
+ before_script :
91
+ - rustup component add clippy-preview
92
+ script :
93
+ - cargo clippy
94
+ # if you want the build job to fail when encountering warnings, use
95
+ - cargo clippy -- -D warnings
96
+ # in order to also check tests and none-default crate features, use
97
+ - cargo clippy --all-targets --all-features -- -D warnings
98
+ - cargo test
99
+ # etc.
98
100
```
99
101
100
102
## Configuration
You can’t perform that action at this time.
0 commit comments