.travis.yml 809 B

12345678910111213141516171819202122232425262728
  1. language: rust
  2. rust:
  3. - stable
  4. - beta
  5. - nightly-2016-04-21 # Last known to be working nightly
  6. - nightly
  7. matrix:
  8. allow_failures:
  9. - rust: nightly
  10. addons:
  11. apt:
  12. packages:
  13. - libprotoc-dev
  14. - portaudio19-dev
  15. - libpulse-dev
  16. script:
  17. - cargo build --no-default-features --features "with-syntex"
  18. - cargo build --no-default-features --features "with-syntex with-tremor"
  19. - cargo build --no-default-features --features "with-syntex facebook"
  20. - cargo build --no-default-features --features "with-syntex portaudio-backend"
  21. - cargo build --no-default-features --features "with-syntex pulseaudio-backend"
  22. # Building without syntex only works on nightly
  23. - if [[ $TRAVIS_RUST_VERSION == *"nightly"* ]]; then
  24. cargo build --no-default-features;
  25. fi