.travis.yml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. language: rust
  2. matrix:
  3. include:
  4. #- env: TARGET=x86_64-unknown-linux-gnu
  5. # if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  6. #- env: TARGET=riscv32imac-unknown-none-elf
  7. # if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  8. #- env: TARGET=x86_64-unknown-linux-gnu
  9. # rust: beta
  10. # if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  11. #- env: TARGET=riscv32imac-unknown-none-elf
  12. # rust: beta
  13. # if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  14. - env: TARGET=x86_64-unknown-linux-gnu
  15. rust: nightly
  16. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  17. - env: TARGET=riscv32imac-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: TARGET=riscv64imac-unknown-none-elf
  21. rust: nightly
  22. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  23. - env: TARGET=riscv64gc-unknown-none-elf
  24. rust: nightly
  25. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  26. - env: TARGET=x86_64-unknown-linux-gnu
  27. rust: stable
  28. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  29. - env: TARGET=riscv32imac-unknown-none-elf
  30. rust: stable
  31. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  32. before_install: set -e
  33. install:
  34. - bash ci/install.sh
  35. - export PATH="$PATH:$PWD/gcc/bin"
  36. script:
  37. - bash ci/script.sh
  38. after_script: set +e
  39. cache: cargo
  40. before_cache:
  41. # Travis can't cache files that are not readable by "others"
  42. - chmod -R a+r $HOME/.cargo
  43. branches:
  44. only:
  45. - master
  46. - staging
  47. - trying
  48. notifications:
  49. email:
  50. on_success: never