Don't create artifacts when we're not deploying

This commit is contained in:
Konstantinos Sideris 2017-12-22 16:50:38 +02:00
parent a3c162950c
commit 9dcdd70a35

View file

@ -50,8 +50,8 @@ before_script:
script: script:
- make ci - make ci
- if [ $TRAVIS_OS_NAME == osx ]; then make lint; fi - if [ $TRAVIS_OS_NAME == osx ]; then make lint; fi
- if [ $TRAVIS_OS_NAME == osx ]; then ./.ci/macos/deploy.sh; fi - if [ $TRAVIS_OS_NAME == osx && $DEPLOYMENT == 1 ]; then ./.ci/macos/deploy.sh; fi
- if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/deploy.sh; fi - if [ $TRAVIS_OS_NAME == linux && $DEPLOYMENT == 1 ]; then ./.ci/linux/deploy.sh; fi
deploy: deploy:
- skip_cleanup: true - skip_cleanup: true