mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
Merge pull request #1031 from oli-obk/travis2pointOH
speed up travis by not recompiling clippy just to test `cargo clippy`
This commit is contained in:
commit
2cea1eef41
1 changed files with 4 additions and 3 deletions
|
@ -19,9 +19,10 @@ script:
|
|||
- python util/update_lints.py -c
|
||||
- cargo build --features debugging
|
||||
- cargo test --features debugging
|
||||
- SYSROOT=~/rust cargo install
|
||||
- cargo clippy -- -D clippy
|
||||
- cd clippy_lints && cargo clippy -- -D clippy && cd ..
|
||||
- mkdir -p ~/rust/cargo/bin
|
||||
- cp target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy
|
||||
- PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy
|
||||
- cd clippy_lints && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy && cd ..
|
||||
|
||||
after_success:
|
||||
# only test regex_macros if it compiles
|
||||
|
|
Loading…
Add table
Reference in a new issue