aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-09 00:22:41 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-09 00:22:41 +0100
commit70f1a705c4b12486dd75a4f61aeae730772b5e84 (patch)
tree3433a2f76f0c69d983d9b37fe140a0521f1cb28b
parent847aab8299bcff9d259aa5b6eb4686ae4f2fb763 (diff)
downloadblogc-70f1a705c4b12486dd75a4f61aeae730772b5e84.tar.gz
blogc-70f1a705c4b12486dd75a4f61aeae730772b5e84.tar.bz2
blogc-70f1a705c4b12486dd75a4f61aeae730772b5e84.zip
travis: optimize
-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