From 96978b45629bc2c05ffa995c281e49a753b3eb43 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 16 Aug 2018 01:58:37 +0000 Subject: [PATCH] yea only build releases on tags --- .travis.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.travis.yml b/.travis.yml index 193e220..02357a9 100644 --- a/.travis.yml +++ b/.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 +