mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-04-08 17:05:59 +02:00
[skip travis] Only test install when attempting to deploy.
This commit is contained in:
parent
81653e6000
commit
de1648ad75
@ -29,7 +29,6 @@ script:
|
||||
- cargo clippy -- -D clippy::all
|
||||
- cargo build --verbose --target $TARGET
|
||||
- cargo test --verbose --target $TARGET
|
||||
- cargo install --path . --target $TARGET
|
||||
|
||||
# Need to cache the whole `.cargo` directory to keep .crates.toml for cargo-update to work
|
||||
cache:
|
||||
@ -46,6 +45,7 @@ notifications:
|
||||
on_success: never
|
||||
|
||||
before_deploy:
|
||||
- cargo install --path . --target $TARGET
|
||||
- |
|
||||
if [[ $TRAVIS_OS_NAME == "windows" ]]; then
|
||||
choco install zip;
|
||||
|
Loading…
x
Reference in New Issue
Block a user