librespot/.travis.yml

44 lines
1.3 KiB
YAML
Raw Normal View History

2015-12-30 19:11:29 +00:00
language: rust
rust:
- stable
- beta
2016-07-06 10:01:08 +00:00
- nightly-2016-07-03 # 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:
- libprotoc-dev
2015-12-30 19:11:29 +00:00
- portaudio19-dev
- libpulse-dev
- gcc-arm-linux-gnueabihf
- libc6-dev-armhf-cross
before_script:
- mkdir -p ~/.cargo
- echo '[target.armv7-unknown-linux-gnueabihf]' > ~/.cargo/config
- echo 'linker = "arm-linux-gnueabihf-gcc"' >> ~/.cargo/config
- sh ~/rust-installer/rustup.sh --prefix=$(rustc --print sysroot) -y --disable-sudo --add-target=armv7-unknown-linux-gnueabihf
2016-04-23 15:01:02 +00:00
2016-01-02 00:05:26 +00:00
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"
2016-03-20 19:16:32 +00:00
- cargo build --no-default-features --features "with-syntex pulseaudio-backend"
- cargo build --no-default-features --features "with-syntex" --target armv7-unknown-linux-gnueabihf
2016-05-04 08:37:09 +00:00
# Building without syntex only works on nightly
- if [[ $TRAVIS_RUST_VERSION == *"nightly"* ]]; then
2016-07-06 10:01:08 +00:00
cargo build --no-default-features --features "nightly";
fi
2016-05-06 19:23:26 +00:00
notifications:
email: false