Fix deploy conditionals

This commit is contained in:
Konstantinos Sideris 2017-12-23 14:11:51 +02:00
parent e57f5f848b
commit 74ffef9826

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 && $DEPLOYMENT == 1 ]; then ./.ci/macos/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 - if [ $TRAVIS_OS_NAME == linux ] && [ $DEPLOYMENT == 1 ]; then ./.ci/linux/deploy.sh; fi
deploy: deploy:
- skip_cleanup: true - skip_cleanup: true