.travis.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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=x86_64-unknown-linux-gnu
  21. rust: stable
  22. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  23. - env: TARGET=riscv32imac-unknown-none-elf
  24. rust: stable
  25. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  26. before_install: set -e
  27. install:
  28. - bash ci/install.sh
  29. - export PATH="$PATH:$PWD/gcc/bin"
  30. script:
  31. - bash ci/script.sh
  32. after_script: set +e
  33. cache: cargo
  34. before_cache:
  35. # Travis can't cache files that are not readable by "others"
  36. - chmod -R a+r $HOME/.cargo
  37. branches:
  38. only:
  39. - master
  40. - staging
  41. - trying
  42. notifications:
  43. email:
  44. on_success: never