From d3ba191fd41dd59115ffe30a0dc163d7c3465615 Mon Sep 17 00:00:00 2001 From: Joshua Groves Date: Mon, 27 Aug 2018 19:42:40 -0600 Subject: [PATCH] Deployment configuration --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 163abd1..a5e5501 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,9 +53,7 @@ script: - export PATH=$PATH:$HOME/deps/bin - make - if [[ $TRAVIS_RUST_VERSION == "nightly" ]]; then make debug release; fi - -after_success: - - if [[ $TRAVIS_RUST_VERSION != "nightly" && $TRAVIS_BRANCH == "master" ]]; then make package.zip && mv package.zip portability-$TRAVIS_OS_NAME.zip; fi + - if [[ $TRAVIS_RUST_VERSION != "nightly" && $TRAVIS_BRANCH == "master" && $TRAVIS_OS_NAME == "osx" ]]; then make package.zip && mv package.zip portability-$TRAVIS_OS_NAME.zip; fi deploy: provider: releases @@ -65,3 +63,6 @@ deploy: skip_cleanup: true on: tags: true + branch: master + condition: $TRAVIS_RUST_VERSION = "stable" && $TRAVIS_OS_NAME == "osx" + skip_cleanup: true