Add nightly clippy fix.

This commit is contained in:
ClementTsang 2020-02-17 20:41:38 -05:00
parent 8b57f53edc
commit dbfe5467f1
1 changed files with 2 additions and 1 deletions

View File

@ -25,8 +25,9 @@ before_install:
fi
before_script:
- rustup target add $TARGET
- rustup component add clippy
- rustup component add clippy --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
script:
- cargo clippy -- -D clippy::all
- cargo build --verbose --target $TARGET
- cargo test --verbose --target $TARGET