.travis.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. language: rust
  2. rust:
  3. - 1.32.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. - libasound2-dev
  16. - libsdl2-dev
  17. before_script:
  18. - mkdir -p ~/.cargo
  19. - echo '[target.armv7-unknown-linux-gnueabihf]' > ~/.cargo/config
  20. - echo 'linker = "arm-linux-gnueabihf-gcc"' >> ~/.cargo/config
  21. - rustup target add armv7-unknown-linux-gnueabihf
  22. script:
  23. - cargo build --locked --no-default-features
  24. - cargo build --locked --no-default-features --features "with-tremor"
  25. - cargo build --locked --no-default-features --features "with-vorbis"
  26. - cargo build --locked --no-default-features --features "alsa-backend"
  27. - cargo build --locked --no-default-features --features "portaudio-backend"
  28. - cargo build --locked --no-default-features --features "pulseaudio-backend"
  29. - cargo build --locked --no-default-features --features "jackaudio-backend"
  30. - cargo build --locked --no-default-features --features "rodio-backend"
  31. - cargo build --locked --no-default-features --features "sdl-backend"
  32. - cargo build --locked --no-default-features --target armv7-unknown-linux-gnueabihf
  33. notifications:
  34. email: false
  35. webhooks:
  36. urls:
  37. - https://webhooks.gitter.im/e/780b178b15811059752e
  38. on_success: change # options: [always|never|change] default: always
  39. on_failure: always # options: [always|never|change] default: always
  40. on_start: never # options: [always|never|change] default: always