summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-22 16:50:38 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-22 16:50:38 +0200
commit9dcdd70a35435540f474c4c25692d5518bc3732a (patch)
treee24cd2fd40b72a52d78224aa00bfcefc4ec79b71 /.travis.yml
parenta3c162950c326d0e74a9811871e0aceab0846cc0 (diff)
Don't create artifacts when we're not deploying
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 67b2a621..f9f4d5b2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -50,8 +50,8 @@ before_script:
script:
- make ci
- if [ $TRAVIS_OS_NAME == osx ]; then make lint; fi
- - if [ $TRAVIS_OS_NAME == osx ]; then ./.ci/macos/deploy.sh; fi
- - if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/deploy.sh; fi
+ - if [ $TRAVIS_OS_NAME == osx && $DEPLOYMENT == 1 ]; then ./.ci/macos/deploy.sh; fi
+ - if [ $TRAVIS_OS_NAME == linux && $DEPLOYMENT == 1 ]; then ./.ci/linux/deploy.sh; fi
deploy:
- skip_cleanup: true