mirror of
https://github.com/ClementTsang/bottom
synced 2025-02-16 21:28:26 +00:00
Change travis a bit.
This commit is contained in:
parent
1ab018b7be
commit
7a6945de35
1 changed files with 9 additions and 1 deletions
10
.travis.yml
10
.travis.yml
|
@ -12,14 +12,22 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly
|
- 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:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- /home/travis/.cargo
|
- /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:
|
before_cache:
|
||||||
|
- 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…
Add table
Reference in a new issue