.travis.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. language: rust
  2. sudo: false
  3. rust:
  4. - 1.8.0
  5. - 1.15.0
  6. - 1.20.0
  7. - 1.26.0 # has_i128
  8. - 1.31.0 # 2018!
  9. - stable
  10. - beta
  11. - nightly
  12. script:
  13. - cargo build --verbose
  14. - ./ci/test_full.sh
  15. matrix:
  16. include:
  17. # i586 presents floating point challenges for lack of SSE/SSE2
  18. - name: "i586"
  19. rust: stable
  20. env: TARGET=i586-unknown-linux-gnu
  21. addons:
  22. apt:
  23. packages:
  24. - gcc-multilib
  25. before_script:
  26. - rustup target add $TARGET
  27. script:
  28. - cargo test --verbose --target $TARGET --all-features
  29. # try a target that doesn't have std at all
  30. - name: "no_std"
  31. rust: stable
  32. env: TARGET=thumbv6m-none-eabi
  33. before_script:
  34. - rustup target add $TARGET
  35. script:
  36. - cargo build --verbose --target $TARGET --no-default-features --features i128
  37. - cargo build --verbose --target $TARGET --no-default-features --features libm
  38. - name: "rustfmt"
  39. rust: 1.31.0
  40. before_script:
  41. - rustup component add rustfmt
  42. script:
  43. - cargo fmt --all -- --check
  44. notifications:
  45. email:
  46. on_success: never
  47. branches:
  48. only:
  49. - master
  50. - next
  51. - staging
  52. - trying