.travis.yml 941 B

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