.travis.yml 958 B

123456789101112131415161718192021222324252627282930313233
  1. language: rust
  2. rust:
  3. - 1.15.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. - sh ~/rust-installer/rustup.sh --prefix=$(rustc --print sysroot) -y --disable-sudo --add-target=armv7-unknown-linux-gnueabihf
  20. script:
  21. - cargo build --no-default-features
  22. - cargo build --no-default-features --features "with-tremor"
  23. - cargo build --no-default-features --features "portaudio-backend"
  24. - cargo build --no-default-features --features "pulseaudio-backend"
  25. - cargo build --no-default-features --features "alsa-backend"
  26. - cargo build --no-default-features --target armv7-unknown-linux-gnueabihf
  27. notifications:
  28. email: false