mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
travis: Only build without syntex on nightly
This commit is contained in:
parent
6e823ef639
commit
ae4786e976
1 changed files with 4 additions and 7 deletions
11
.travis.yml
11
.travis.yml
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue