From 7a6945de35a144086c6e6e3d43add53039308d4c Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Mon, 30 Dec 2019 19:40:45 -0500 Subject: [PATCH] Change travis a bit. --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3a39d7b1..ba934412 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,14 +12,22 @@ env: jobs: allow_failures: - rust: nightly +script: + - cargo build --verbose --all + #- cargo test --verbose --all -#From https://levans.fr/rust_travis_cache.html +# Need to cache the whole `.cargo` directory to keep .crates.toml for +# cargo-update to work cache: directories: - /home/travis/.cargo +# But don't cache the cargo registry +# and remove wasm-pack binary to avoid the installer asking confirmation for overwriting it. before_cache: + - rm -rf /home/travis/.cargo/git - rm -rf /home/travis/.cargo/registry + - rm -rf /home/travis/.cargo/bin/wasm-pack notifications: email: