yea only build releases on tags

This commit is contained in:
Michael 2018-08-16 01:58:37 +00:00 committed by Michael Zhang
parent fee908891a
commit 96978b4562
No known key found for this signature in database
GPG key ID: A1B65B603268116B

View file

@ -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