.travis.yml 375 B

12345678910111213141516171819
  1. language: rust
  2. rust:
  3. - 1.40.0
  4. # Caching saves a lot of time but often causes stalled builds...
  5. # cache:
  6. # - cargo
  7. before_script:
  8. - rustup component add rustfmt
  9. - ./setup.sh
  10. script:
  11. # Ensure all checked in code is cargo-fmt'ed
  12. - cargo fmt --all -- --check
  13. # Native build and unit tests check
  14. - cargo test --verbose --all
  15. # WASM build check
  16. - cargo build