2015-12-30 19:11:29 +00:00
|
|
|
language: rust
|
|
|
|
rust:
|
2018-02-07 17:57:19 +00:00
|
|
|
- 1.20.0
|
2016-03-07 18:16:43 +00:00
|
|
|
- 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:
|
2016-08-09 19:46:52 +00:00
|
|
|
- gcc-arm-linux-gnueabihf
|
|
|
|
- libc6-dev-armhf-cross
|
2016-12-31 13:30:01 +00:00
|
|
|
- libpulse-dev
|
|
|
|
- portaudio19-dev
|
2016-08-09 19:46:52 +00:00
|
|
|
|
|
|
|
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
|
2018-02-11 12:28:06 +00:00
|
|
|
- if [[ $TRAVIS_RUST_VERSION == *"nightly"* ]]; then
|
|
|
|
rustup component add rustfmt-preview;
|
2018-02-26 01:53:45 +00:00
|
|
|
cargo fmt --all -- --write-mode=diff;
|
2018-02-11 12:28:06 +00:00
|
|
|
fi
|
2016-04-23 15:01:02 +00:00
|
|
|
|
2016-01-02 00:05:26 +00:00
|
|
|
script:
|
2018-02-13 01:07:28 +00:00
|
|
|
- cargo build --locked --no-default-features
|
|
|
|
- cargo build --locked --no-default-features --features "with-tremor"
|
|
|
|
- cargo build --locked --no-default-features --features "with-vorbis"
|
|
|
|
- cargo build --locked --no-default-features --features "portaudio-backend"
|
|
|
|
- cargo build --locked --no-default-features --features "pulseaudio-backend"
|
|
|
|
- cargo build --locked --no-default-features --features "alsa-backend"
|
|
|
|
- cargo build --locked --no-default-features --target armv7-unknown-linux-gnueabihf
|
2016-05-06 19:23:26 +00:00
|
|
|
|
|
|
|
notifications:
|
2018-01-28 17:53:24 +00:00
|
|
|
email: false
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/780b178b15811059752e
|
|
|
|
on_success: change # options: [always|never|change] default: always
|
|
|
|
on_failure: always # options: [always|never|change] default: always
|
|
|
|
on_start: never # options: [always|never|change] default: always
|