move os condition to condition clause
This commit is contained in:
parent
73101fcc03
commit
087ea0310b
1 changed files with 1 additions and 2 deletions
|
@ -27,8 +27,7 @@ script:
|
|||
deploy:
|
||||
on:
|
||||
branch: master
|
||||
condition: "$CC = gcc"
|
||||
os: linux
|
||||
condition: "$CC = gcc && $TRAVIS_OS_NAME = linux"
|
||||
provider: script
|
||||
script: bash push-docker-image.sh
|
||||
notifications:
|
||||
|
|
Loading…
Reference in a new issue