.travis.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. include:
  12. - env: TARGET=riscv64imac-unknown-none-elf
  13. rust: nightly
  14. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  15. - env: TARGET=riscv64gc-unknown-none-elf
  16. rust: nightly
  17. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  18. - env: CHECK_BLOBS=1
  19. rust:
  20. language: bash
  21. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  22. install:
  23. - ci/install.sh
  24. script:
  25. - ci/script.sh
  26. cache:
  27. cargo: true
  28. directories:
  29. - gcc
  30. before_cache:
  31. # Travis can't cache files that are not readable by "others"
  32. - chmod -R a+r $HOME/.cargo
  33. branches:
  34. only:
  35. - master
  36. - staging
  37. - trying
  38. notifications:
  39. email:
  40. on_success: never