Do not try to deploy things when we are building docker images.

This commit is contained in:
Matthieu Gautier 2019-05-06 18:32:41 +02:00
parent 8fe54b9f96
commit bf5e378963
1 changed files with 2 additions and 2 deletions

View File

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