travis: Build with specific nightly version.

This commit is contained in:
Paul Lietar 2016-03-20 17:39:05 +00:00
parent 968a39a131
commit 2b019660fa

View file

@ -2,6 +2,7 @@ language: rust
rust: rust:
- stable - stable
- beta - beta
- nightly-2016-03-17 # Last known to be working nightly
- nightly - nightly
addons: addons:
@ -16,7 +17,7 @@ script:
- cargo build --no-default-features --features "with-syntex facebook" - cargo build --no-default-features --features "with-syntex facebook"
- cargo build --no-default-features --features "with-syntex portaudio-backend" - cargo build --no-default-features --features "with-syntex portaudio-backend"
# Building without syntex only works on nightly # Building without syntex only works on nightly
- if [[ $(rustc --version) == *"nightly"* ]]; then - if [[ $TRAVIS_RUST_VERSION == *"nightly"* ]]; then
cargo build --no-default-features; cargo build --no-default-features;
fi fi