[CI] Install clippy from git when it's missing
This commit is contained in:
parent
7e914ac535
commit
2de3146c62
|
@ -19,7 +19,7 @@ _latest() {
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=$TRAVIS_RUST_VERSION
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=$TRAVIS_RUST_VERSION
|
||||||
export PATH=$PATH:$HOME/.cargo/bin
|
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
|
rustup component add rustfmt
|
||||||
|
|
||||||
### Setup kcov #################################################################
|
### Setup kcov #################################################################
|
||||||
|
|
Loading…
Reference in New Issue