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