Skip to content

Commit afb633a

Browse files
committed
Pin to a version of nightly that has a working rust-clippy.
Also pin clippy version that is compatible with pinned nightly.
1 parent 527d509 commit afb633a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ addons:
1010
- binutils-dev
1111
rust:
1212
- stable
13-
- nightly
13+
- nightly-2017-02-05
1414
env:
1515
global:
1616
# override the default `--features unstable` used for the nightly branch
1717
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
18+
# Version of clippy known to work with pinned nightly.
19+
- CLIPPY_VERSION=0.0.113
1820
before_script:
1921
- sudo apt-get update -qq
2022
- sudo apt-get install -y mpd
@@ -24,7 +26,7 @@ before_script:
2426
- export PATH=$HOME/.cargo/bin:$HOME/.local/bin:$PATH
2527
- |
2628
pip install 'travis-cargo<0.2' --user &&
27-
travis-cargo --only nightly install -- --force clippy
29+
travis-cargo --only nightly install -- --force clippy --vers CLIPPY_VERSION
2830
- |
2931
cargo install --force rustfmt
3032
script:

0 commit comments

Comments
 (0)