.travis.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. language: rust
  2. rust:
  3. - 1.26.0
  4. - stable
  5. - beta
  6. - nightly
  7. cache: cargo
  8. addons:
  9. apt:
  10. packages:
  11. - gcc-arm-linux-gnueabihf
  12. - libc6-dev-armhf-cross
  13. - libpulse-dev
  14. - portaudio19-dev
  15. before_script:
  16. - mkdir -p ~/.cargo
  17. - echo '[target.armv7-unknown-linux-gnueabihf]' > ~/.cargo/config
  18. - echo 'linker = "arm-linux-gnueabihf-gcc"' >> ~/.cargo/config
  19. - rustup target add armv7-unknown-linux-gnueabihf
  20. script:
  21. - cargo build --locked --no-default-features
  22. - cargo build --locked --no-default-features --features "with-tremor"
  23. - cargo build --locked --no-default-features --features "with-vorbis"
  24. - cargo build --locked --no-default-features --features "portaudio-backend"
  25. - cargo build --locked --no-default-features --features "pulseaudio-backend"
  26. - cargo build --locked --no-default-features --features "alsa-backend"
  27. - cargo build --locked --no-default-features --target armv7-unknown-linux-gnueabihf
  28. notifications:
  29. email: false
  30. webhooks:
  31. urls:
  32. - https://webhooks.gitter.im/e/780b178b15811059752e
  33. on_success: change # options: [always|never|change] default: always
  34. on_failure: always # options: [always|never|change] default: always
  35. on_start: never # options: [always|never|change] default: always