Switch to msvc

This commit is contained in:
Clement Tsang 2019-12-30 20:56:10 -05:00
parent 7a6945de35
commit 8cf895589b

View File

@ -9,25 +9,23 @@ os:
- linux - linux
env: env:
- RUST_BACKTRACE=1 - RUST_BACKTRACE=1
- if [ "$TRAVIS_OS_NAME" != "windows" ]; then TARGET=x86_64-pc-windows-msvc; fi
jobs: jobs:
allow_failures: allow_failures:
- rust: nightly - rust: nightly
script: script:
- cargo build --verbose --all - cargo build --verbose
#- cargo test --verbose --all - cargo test --verbose
# Need to cache the whole `.cargo` directory to keep .crates.toml for # Need to cache the whole `.cargo` directory to keep .crates.toml for cargo-update to work
# cargo-update to work
cache: cache:
directories: directories:
- /home/travis/.cargo - /home/travis/.cargo
# But don't cache the cargo registry # But don't cache the cargo registry.
# and remove wasm-pack binary to avoid the installer asking confirmation for overwriting it.
before_cache: before_cache:
- rm -rf /home/travis/.cargo/git - rm -rf /home/travis/.cargo/git
- rm -rf /home/travis/.cargo/registry - rm -rf /home/travis/.cargo/registry
- rm -rf /home/travis/.cargo/bin/wasm-pack
notifications: notifications:
email: email: