mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-22 20:23:12 +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:
|
||||
allow_failures:
|
||||
- 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:
|
||||
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.
|
||||
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 a new issue