mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
31 lines
824 B
YAML
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
|