.travis.yml 927 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. language: rust
  2. env:
  3. - TARGET=x86_64-unknown-linux-gnu
  4. - TARGET=riscv32imac-unknown-none-elf
  5. - TARGET=riscv64imac-unknown-none-elf
  6. - TARGET=riscv64gc-unknown-none-elf
  7. rust:
  8. - nightly
  9. - stable
  10. - 1.42.0 # MSRV
  11. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  12. matrix:
  13. allow_failures:
  14. - rust: nightly
  15. include:
  16. - env: CHECK_BLOBS=1
  17. rust:
  18. language: bash
  19. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  20. - env: CHECK_RUSTFMT=1
  21. rust: stable
  22. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  23. install:
  24. - ci/install.sh
  25. script:
  26. - ci/script.sh
  27. cache:
  28. cargo: true
  29. directories:
  30. - gcc
  31. branches:
  32. only:
  33. - master
  34. - staging
  35. - trying
  36. notifications:
  37. email:
  38. on_success: never