Do not try to deploy if we are running a Docker build.

The deploy will be made in the docker itself.
This commit is contained in:
Matthieu Gautier 2018-06-20 15:13:39 +02:00
parent 8b5715acff
commit 1ca7ab6a86
1 changed files with 2 additions and 1 deletions

View File

@ -43,12 +43,13 @@ deploy:
script: travis/deploy.sh
on:
tags: true
condition: $TRAVIS_OS_NAME != "linux" || $DESKTOP_ONLY != 1
- provider: script
skip_cleanup: true
script: travis/deploy.sh
on:
branch: master
condition: $TRAVIS_EVENT_TYPE = cron
condition: $TRAVIS_EVENT_TYPE = cron && ( $TRAVIS_OS_NAME != "linux" || $DESKTOP_ONLY != 1 )
env:
global:
- NIGHTLY_DATE=$(date +%Y-%m-%d)