Add nightly clippy fix.

This commit is contained in:
ClementTsang 2020-02-17 20:41:38 -05:00
parent 8b57f53edc
commit dbfe5467f1

View File

@ -25,8 +25,9 @@ before_install:
fi fi
before_script: before_script:
- rustup target add $TARGET - 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: script:
- cargo clippy -- -D clippy::all
- cargo build --verbose --target $TARGET - cargo build --verbose --target $TARGET
- cargo test --verbose --target $TARGET - cargo test --verbose --target $TARGET