Merge pull request #347 from kngwyu/clippy-fallback
[CI] Install clippy from git when it's missing
This commit is contained in:
commit
baaccfc775
|
@ -19,7 +19,7 @@ _latest() {
|
|||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=$TRAVIS_RUST_VERSION
|
||||
export PATH=$PATH:$HOME/.cargo/bin
|
||||
|
||||
rustup component add clippy
|
||||
rustup component add clippy || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
|
||||
rustup component add rustfmt
|
||||
|
||||
### Setup kcov #################################################################
|
||||
|
|
Loading…
Reference in a new issue