librespot/.travis.yml

37 lines
1,014 B
YAML
Raw Normal View History

2015-12-30 19:11:29 +00:00
language: rust
rust:
- 1.17.0
- stable
- beta
2015-12-30 19:11:29 +00:00
- nightly
2016-05-04 08:37:09 +00:00
cache: cargo
2015-12-30 19:11:29 +00:00
addons:
apt:
packages:
- gcc-arm-linux-gnueabihf
- libc6-dev-armhf-cross
2016-12-31 13:30:01 +00:00
- libpulse-dev
- portaudio19-dev
before_script:
- mkdir -p ~/.cargo
- echo '[target.armv7-unknown-linux-gnueabihf]' > ~/.cargo/config
- echo 'linker = "arm-linux-gnueabihf-gcc"' >> ~/.cargo/config
2017-03-26 11:24:48 +00:00
- rustup target add 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
- cargo build --no-default-features --features "with-tremor"
- cargo build --no-default-features --features "portaudio-backend"
- cargo build --no-default-features --features "pulseaudio-backend"
- cargo build --no-default-features --features "alsa-backend"
- cargo build --no-default-features --target armv7-unknown-linux-gnueabihf
- if [[ $TRAVIS_RUST_VERSION != *"1.17.0"* ]]; then
cargo build --no-default-features --features "with-lewton";
fi
2016-05-06 19:23:26 +00:00
notifications:
email: false