Skip to content

Commit 9754576

Browse files
committed
Explain Travis CI usage
Closes #2432
1 parent dac5e2d commit 9754576

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@ rustup component add clippy-preview
6464

6565
Now you can run Clippy by invoking `cargo clippy`.
6666

67+
#### Travis CI
68+
69+
You can add Clippy to Travis CI in the same way you use it locally:
70+
71+
```yml
72+
- rust: stable
73+
before_script:
74+
- rustup component add clippy-preview
75+
script:
76+
- cargo clippy
77+
- cargo test
78+
# etc.
79+
```
80+
6781
### Running Clippy from the command line without installing it
6882

6983
To have cargo compile your crate with Clippy without Clippy installation

0 commit comments

Comments
 (0)