travis: Only build without syntex on nightly

This commit is contained in:
Paul Lietar 2016-03-11 13:15:30 +00:00
parent 6e823ef639
commit ae4786e976

View file

@ -12,10 +12,7 @@ addons:
script: script:
- cargo build --verbose - cargo build --verbose
- cargo build --no-default-features --verbose # Building without syntex only works on nightly
- if [[ $(rustc --version) == *"nightly"* ]]; then
matrix: cargo build --no-default-features --verbose;
allow_failures: fi
- rust:
- stable
- beta