mirror of
https://github.com/ClementTsang/bottom.git
synced 2024-11-12 22:50:32 +03:00
Switch to msvc
This commit is contained in:
parent
7a6945de35
commit
8cf895589b
12
.travis.yml
12
.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:
|
||||
|
Loading…
Reference in New Issue
Block a user