[CI] Install clippy from git when it's missing

This commit is contained in:
kngwyu 2019-02-10 10:52:39 +09:00
parent 7e914ac535
commit 2de3146c62
1 changed files with 1 additions and 1 deletions

View File

@ -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 #################################################################