From 9dcdd70a35435540f474c4c25692d5518bc3732a Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Fri, 22 Dec 2017 16:50:38 +0200 Subject: [PATCH] Don't create artifacts when we're not deploying --- .travis.yml | 4 ++-- 1 file 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