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
1 changed files with 2 additions and 2 deletions

View File

@ -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