aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rwxr-xr-xbuild-aux/travis-deploy.sh2
2 files changed, 2 insertions, 1 deletions
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