travis: bump clippy version
New nightlies produce a `clippy-preview` component for `rustup`; bump
clippy so we get new lints and no longer have to build clippy from
source for each CI run.
language: rust
rust:
- - nightly-2018-06-11 # pinned toolchain for clippy
+ - nightly-2018-07-24 # pinned toolchain for clippy
- 1.26.0 # minimum supported toolchain
- stable
- beta
@@ -12,12 +12,11 @@ matrix:
env:
global:
- - CLIPPY_VERSION=0.0.207
- - CLIPPY_RUST_VERSION=nightly-2018-06-11
+ - CLIPPY_RUST_VERSION=nightly-2018-07-24
before_script:
- bash -c 'if [[ "$TRAVIS_RUST_VERSION" == "$CLIPPY_RUST_VERSION" ]]; then
- cargo install clippy --vers $CLIPPY_VERSION --force;
+ rustup component add clippy-preview;
fi'
script:
