.travis.yml 814 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. language: rust
  2. rust:
  3. - nightly
  4. - stable
  5. - 1.31.0 # MSRV
  6. env:
  7. - TARGET=x86_64-unknown-linux-gnu
  8. - TARGET=riscv32imac-unknown-none-elf
  9. - TARGET=riscv64imac-unknown-none-elf
  10. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  11. matrix:
  12. exclude:
  13. - rust: stable
  14. env: TARGET=riscv64imac-unknown-none-elf
  15. - rust: 1.31.0 # MSRV
  16. env: TARGET=riscv64imac-unknown-none-elf
  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