From 2b019660fae97932380fbb48c8857dc9e2284aca Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Sun, 20 Mar 2016 17:39:05 +0000 Subject: [PATCH] travis: Build with specific nightly version. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bdbfd22f..a9327e91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: rust rust: - stable - beta + - nightly-2016-03-17 # Last known to be working nightly - nightly addons: @@ -16,7 +17,7 @@ script: - cargo build --no-default-features --features "with-syntex facebook" - cargo build --no-default-features --features "with-syntex portaudio-backend" # Building without syntex only works on nightly - - if [[ $(rustc --version) == *"nightly"* ]]; then + - if [[ $TRAVIS_RUST_VERSION == *"nightly"* ]]; then cargo build --no-default-features; fi