Browse Source

fix the new travis nightly line

Josh Stone 9 years ago
parent
commit
03995288d2
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .travis.yml

+ 3 - 1
.travis.yml

@@ -8,7 +8,9 @@ script:
   - cargo build --verbose
   - cargo test --verbose
   - .travis/test_features.sh
-  - [ $TRAVIS_RUST_VERSION = nightly ] .travis/test_nightly.sh
+  - |
+    [ $TRAVIS_RUST_VERSION = nightly ] &&
+    .travis/test_nightly.sh
   - cargo doc
 after_success: |
   [ $TRAVIS_BRANCH = master ] &&