.travis.yml 824 B

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