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:
|
deploy:
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
condition: "$CC = gcc"
|
condition: "$CC = gcc && $TRAVIS_OS_NAME = linux"
|
||||||
os: linux
|
|
||||||
provider: script
|
provider: script
|
||||||
script: bash push-docker-image.sh
|
script: bash push-docker-image.sh
|
||||||
notifications:
|
notifications:
|
||||||
|
|
Loading…
Reference in a new issue