Deployment configuration

This commit is contained in:
Joshua Groves 2018-08-27 19:42:40 -06:00
parent ce6b99a95a
commit d3ba191fd4

View file

@ -53,9 +53,7 @@ script:
- export PATH=$PATH:$HOME/deps/bin - export PATH=$PATH:$HOME/deps/bin
- make - make
- if [[ $TRAVIS_RUST_VERSION == "nightly" ]]; then make debug release; fi - if [[ $TRAVIS_RUST_VERSION == "nightly" ]]; then make debug release; 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
after_success:
- if [[ $TRAVIS_RUST_VERSION != "nightly" && $TRAVIS_BRANCH == "master" ]]; then make package.zip && mv package.zip portability-$TRAVIS_OS_NAME.zip; fi
deploy: deploy:
provider: releases provider: releases
@ -65,3 +63,6 @@ deploy:
skip_cleanup: true skip_cleanup: true
on: on:
tags: true tags: true
branch: master
condition: $TRAVIS_RUST_VERSION = "stable" && $TRAVIS_OS_NAME == "osx"
skip_cleanup: true