.travis.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. language: rust
  2. env:
  3. - TARGET=x86_64-unknown-linux-gnu
  4. - TARGET=riscv32imac-unknown-none-elf
  5. rust:
  6. - nightly
  7. - stable
  8. - 1.30.0 # MSRV
  9. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  10. matrix:
  11. allow_failures:
  12. - rust: nightly
  13. include:
  14. - env: TARGET=riscv64imac-unknown-none-elf
  15. rust: nightly
  16. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  17. - env: TARGET=riscv64gc-unknown-none-elf
  18. rust: nightly
  19. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  20. - env: CHECK_BLOBS=1
  21. rust:
  22. language: bash
  23. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  24. install:
  25. - ci/install.sh
  26. script:
  27. - ci/script.sh
  28. cache:
  29. cargo: true
  30. directories:
  31. - gcc
  32. branches:
  33. only:
  34. - master
  35. - staging
  36. - trying
  37. notifications:
  38. email:
  39. on_success: never