.travis.yml 910 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. - env: CHECK_BLOBS=1
  16. rust:
  17. language: bash
  18. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  19. - env: RUSTFMT=1
  20. rust: stable
  21. if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
  22. install:
  23. - ci/install.sh
  24. script:
  25. - ci/script.sh
  26. cache:
  27. cargo: true
  28. directories:
  29. - gcc
  30. branches:
  31. only:
  32. - master
  33. - staging
  34. - trying
  35. notifications:
  36. email:
  37. on_success: never