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