.travis.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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.31.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. - env: RUSTFMT=1
  25. rust: stable
  26. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  27. install:
  28. - ci/install.sh
  29. script:
  30. - ci/script.sh
  31. cache:
  32. cargo: true
  33. directories:
  34. - gcc
  35. branches:
  36. only:
  37. - master
  38. - staging
  39. - trying
  40. notifications:
  41. email:
  42. on_success: never