.travis.yml 598 B

12345678910111213141516171819202122
  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. - rustup component add rustfmt --toolchain 1.40.0-x86_64-unknown-linux-gnu
  11. - rustup update nightly
  12. - cargo +nightly install --git https://github.com/alexcrichton/wasm-gc --force
  13. script:
  14. # Ensure all checked in code is cargo-fmt'ed
  15. - cargo fmt --all -- --check
  16. # Native build and unit tests check
  17. - cargo test --verbose --all
  18. # WASM build check
  19. - cargo build