diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2019-12-30 20:56:10 -0500 |
---|---|---|
committer | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2019-12-30 20:56:10 -0500 |
commit | 8cf895589b33ffd93e03cd3944f041b1e5162eb5 (patch) | |
tree | 3b9c8b68047837bfb6c0db3b331738c474ed047f /.travis.yml | |
parent | 7a6945de35a144086c6e6e3d43add53039308d4c (diff) |
Switch to msvc
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index ba934412..c8ef1147 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,25 +9,23 @@ os: - linux env: - RUST_BACKTRACE=1 + - if [ "$TRAVIS_OS_NAME" != "windows" ]; then TARGET=x86_64-pc-windows-msvc; fi jobs: allow_failures: - rust: nightly script: - - cargo build --verbose --all - #- cargo test --verbose --all + - cargo build --verbose + - cargo test --verbose -# Need to cache the whole `.cargo` directory to keep .crates.toml for -# cargo-update to work +# 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. +# But don't cache the cargo registry. before_cache: - rm -rf /home/travis/.cargo/git - rm -rf /home/travis/.cargo/registry - - rm -rf /home/travis/.cargo/bin/wasm-pack notifications: email: |