yea only build releases on tags
This commit is contained in:
parent
fee908891a
commit
96978b4562
1 changed files with 11 additions and 0 deletions
11
.travis.yml
11
.travis.yml
|
@ -14,5 +14,16 @@ cache:
|
|||
|
||||
script:
|
||||
- cargo test --all
|
||||
before_deploy:
|
||||
- cargo build --release --all
|
||||
|
||||
deploy:
|
||||
- provider: releases
|
||||
api_key: $AUTH_TOKEN
|
||||
file:
|
||||
- target/release/dip
|
||||
on:
|
||||
condition: $TRAVIS_RUST_VERSION = stable
|
||||
tags: true
|
||||
skip_cleanup: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue