mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-21 20:54:43 +02: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
|
- 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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user