librespot/.travis.yml
2016-05-04 09:37:09 +01:00

31 lines
824 B
YAML

language: rust
rust:
- stable
- beta
- nightly-2016-04-28 # Last known to be working nightly
- nightly
cache: cargo
matrix:
allow_failures:
- rust: nightly
addons:
apt:
packages:
- libprotoc-dev
- portaudio19-dev
- libpulse-dev
script:
- 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"
- cargo build --no-default-features --features "with-syntex pulseaudio-backend"
# Building without syntex only works on nightly
- if [[ $TRAVIS_RUST_VERSION == *"nightly"* ]]; then
cargo build --no-default-features;
fi