.travis.yml 559 B

123456789101112131415161718192021
  1. language: rust
  2. rust:
  3. - 1.40.0
  4. # Caching saves a lot of time but often causes stalled builds...
  5. # disabled for now
  6. # look into solution here: https://levans.fr/rust_travis_cache.html
  7. # cache:
  8. # - cargo
  9. before_script:
  10. # https://github.com/rust-lang/rustup/issues/1558#issuecomment-452110409
  11. - rustup toolchain remove stable && rustup toolchain install stable
  12. script:
  13. # Ensure all checked in code is cargo-fmt'ed
  14. - cargo fmt --all -- --check
  15. # Native build and unit tests check
  16. - cargo test --verbose --all
  17. # WASM build check
  18. - cargo build