Prechádzať zdrojové kódy

travis: Build with specific nightly version.

Paul Lietar 9 rokov pred
rodič
commit
2b019660fa
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      .travis.yml

+ 2 - 1
.travis.yml

@@ -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