2015-12-30 19:11:29 +00:00
|
|
|
language: rust
|
|
|
|
rust:
|
2016-03-07 18:16:43 +00:00
|
|
|
- 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:
|
2016-01-12 23:30:59 +00:00
|
|
|
- libprotoc-dev
|
2015-12-30 19:11:29 +00:00
|
|
|
- portaudio19-dev
|
2016-08-09 19:46:52 +00:00
|
|
|
- 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:
|
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-08-09 19:46:52 +00:00
|
|
|
- cargo build --no-default-features --features "with-syntex" --target armv7-unknown-linux-gnueabihf
|
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-07-06 10:01:08 +00:00
|
|
|
cargo build --no-default-features --features "nightly";
|
2016-03-11 13:15:30 +00:00
|
|
|
fi
|
2016-05-06 19:23:26 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|