Explorar o código

travis: Build with specific nightly version.

Paul Lietar %!s(int64=9) %!d(string=hai) anos
pai
achega
2b019660fa
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      .travis.yml

+ 2 - 1
.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