From ae4786e976ce88c9c5c41ec5227da6c247abad73 Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Fri, 11 Mar 2016 13:15:30 +0000 Subject: [PATCH] travis: Only build without syntex on nightly --- .travis.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0469d0c0..4402fe8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,10 +12,7 @@ addons: script: - cargo build --verbose - - cargo build --no-default-features --verbose - -matrix: - allow_failures: - - rust: - - stable - - beta + # Building without syntex only works on nightly + - if [[ $(rustc --version) == *"nightly"* ]]; then + cargo build --no-default-features --verbose; + fi