move os condition to condition clause

This commit is contained in:
Patrick Brosi 2020-12-03 14:44:14 +01:00
parent 73101fcc03
commit 087ea0310b

View file

@ -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: