.travis.yml 663 B

1234567891011121314151617181920212223
  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. - rustup target add wasm32-unknown-unknown --toolchain nightly
  13. - cargo +nightly install --git https://github.com/alexcrichton/wasm-gc --force
  14. script:
  15. # Ensure all checked in code is cargo-fmt'ed
  16. - cargo fmt --all -- --check
  17. # Native build and unit tests check
  18. - cargo test --verbose --all
  19. # WASM build check
  20. - cargo build