From 70f1a705c4b12486dd75a4f61aeae730772b5e84 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 9 Mar 2016 00:22:41 +0100 Subject: travis: optimize --- .travis.yml | 1 + build-aux/travis-deploy.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 596f9db..84d8680 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,3 +44,4 @@ deploy: on: repo: blogc/blogc branch: master + condition: $CC = gcc diff --git a/build-aux/travis-deploy.sh b/build-aux/travis-deploy.sh index 65f162e..267c8d5 100755 --- a/build-aux/travis-deploy.sh +++ b/build-aux/travis-deploy.sh @@ -2,7 +2,7 @@ set -e -if [[ "x${TARGET}" != xw* ]] && [[ "x${TARGET}" != xdist* ]] && [[ "x${CC}" != xgcc ]]; then +if [[ "x${TARGET}" != xw* ]] && [[ "x${TARGET}" != xdist* ]]; then echo "Nothing to deploy." exit 0 fi -- cgit v1.2.3-18-g5258