.travis.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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: stable
  19. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  20. install:
  21. - ci/install.sh
  22. - export PATH="$PATH:$PWD/gcc/bin"
  23. script:
  24. - ci/script.sh
  25. cache: cargo
  26. before_cache:
  27. # Travis can't cache files that are not readable by "others"
  28. - chmod -R a+r $HOME/.cargo
  29. branches:
  30. only:
  31. - master
  32. - staging
  33. - trying
  34. notifications:
  35. email:
  36. on_success: never