.travis.yml 725 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. language: rust
  2. rust:
  3. - nightly
  4. - stable
  5. env:
  6. - TARGET=x86_64-unknown-linux-gnu
  7. - TARGET=riscv32imac-unknown-none-elf
  8. - TARGET=riscv64imac-unknown-none-elf
  9. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  10. matrix:
  11. exclude:
  12. - rust: stable
  13. env: TARGET=riscv64imac-unknown-none-elf
  14. before_install: set -e
  15. install:
  16. - bash ci/install.sh
  17. - export PATH="$PATH:$PWD/gcc/bin"
  18. script:
  19. - bash ci/script.sh
  20. after_script: set +e
  21. cache: cargo
  22. before_cache:
  23. # Travis can't cache files that are not readable by "others"
  24. - chmod -R a+r $HOME/.cargo
  25. branches:
  26. only:
  27. - master
  28. - staging
  29. - trying
  30. notifications:
  31. email:
  32. on_success: never