From 087ea0310b7f51a5707910704de725a73f0a2629 Mon Sep 17 00:00:00 2001 From: Patrick Brosi Date: Thu, 3 Dec 2020 14:44:14 +0100 Subject: [PATCH] move os condition to condition clause --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index eecaaaf..2f5f65a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: