Skip to content

Commit 25a823d

Browse files
committed
Tell travis-cargo to not add unstable feature on nightly.
1 parent ac8d96d commit 25a823d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,20 @@ addons:
1111
rust:
1212
- stable
1313
- nightly
14+
env:
15+
global:
16+
# override the default `--features unstable` used for the nightly branch
17+
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
1418
before_script:
1519
- sudo apt-get update -qq
1620
- sudo apt-get install -y mpd
1721
- /usr/bin/mpd --version
22+
- export PATH=$HOME/.cargo/bin:$HOME/.local/bin:$PATH
1823
- |
1924
pip install 'travis-cargo<0.2' --user &&
20-
export PATH=$HOME/.local/bin:$PATH
25+
travis-cargo --only nightly install -- --force clippy
2126
- |
2227
cargo install --force rustfmt
23-
travis-cargo --only nightly install -- --force clippy
24-
export PATH=$HOME/.cargo/bin:$PATH
2528
script:
2629
- |
2730
RUSTFLAGS=-Dwarnings travis-cargo build &&

0 commit comments

Comments
 (0)