.travis.yml 641 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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: 1.31.0 # MSRV
  14. env: TARGET=riscv64imac-unknown-none-elf
  15. before_install: set -e
  16. install:
  17. - bash ci/install.sh
  18. - export PATH="$PATH:$PWD/gcc/bin"
  19. script:
  20. - bash ci/script.sh
  21. after_script: set +e
  22. cache: cargo
  23. branches:
  24. only:
  25. - master
  26. - staging
  27. - trying
  28. notifications:
  29. email:
  30. on_success: never