.travis.yml 986 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. before_install: set -e
  18. install:
  19. - bash ci/install.sh
  20. - export PATH="$PATH:$PWD/gcc/bin"
  21. script:
  22. - bash ci/script.sh
  23. after_script: set +e
  24. cache: cargo
  25. before_cache:
  26. # Travis can't cache files that are not readable by "others"
  27. - chmod -R a+r $HOME/.cargo
  28. branches:
  29. only:
  30. - master
  31. - staging
  32. - trying
  33. notifications:
  34. email:
  35. on_success: never