2015-12-30 19:11:29 +00:00
|
|
|
language: rust
|
|
|
|
rust:
|
2016-03-07 18:16:43 +00:00
|
|
|
- stable
|
|
|
|
- beta
|
2016-05-04 08:37:09 +00:00
|
|
|
- nightly-2016-04-28 # Last known to be working nightly
|
2015-12-30 19:11:29 +00:00
|
|
|
- nightly
|
|
|
|
|
2016-05-04 08:37:09 +00:00
|
|
|
cache: cargo
|
|
|
|
|
2016-04-23 15:01:02 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
|
|
|
|
2015-12-30 19:11:29 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2016-01-12 23:30:59 +00:00
|
|
|
- libprotoc-dev
|
2015-12-30 19:11:29 +00:00
|
|
|
- portaudio19-dev
|
2016-03-20 19:16:32 +00:00
|
|
|
- libpulse-dev
|
2016-04-23 15:01:02 +00:00
|
|
|
|
2016-01-02 00:05:26 +00:00
|
|
|
script:
|
2016-03-20 16:16:11 +00:00
|
|
|
- cargo build --no-default-features --features "with-syntex"
|
|
|
|
- cargo build --no-default-features --features "with-syntex with-tremor"
|
|
|
|
- cargo build --no-default-features --features "with-syntex facebook"
|
|
|
|
- cargo build --no-default-features --features "with-syntex portaudio-backend"
|
2016-03-20 19:16:32 +00:00
|
|
|
- cargo build --no-default-features --features "with-syntex pulseaudio-backend"
|
2016-05-04 08:37:09 +00:00
|
|
|
|
2016-03-11 13:15:30 +00:00
|
|
|
# Building without syntex only works on nightly
|
2016-03-20 17:39:05 +00:00
|
|
|
- if [[ $TRAVIS_RUST_VERSION == *"nightly"* ]]; then
|
2016-03-11 13:21:54 +00:00
|
|
|
cargo build --no-default-features;
|
2016-03-11 13:15:30 +00:00
|
|
|
fi
|
2016-05-06 19:23:26 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|