aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-09 00:10:36 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-09 00:10:36 +0100
commit847aab8299bcff9d259aa5b6eb4686ae4f2fb763 (patch)
tree71946b4c22f48dc5ddb315f4f58352514e0a090e
parenta65ffc6535d26d87d14a2a0f96bcd61e6783e831 (diff)
downloadblogc-847aab8299bcff9d259aa5b6eb4686ae4f2fb763.tar.gz
blogc-847aab8299bcff9d259aa5b6eb4686ae4f2fb763.tar.bz2
blogc-847aab8299bcff9d259aa5b6eb4686ae4f2fb763.zip
travis: optimize
-rwxr-xr-xbuild-aux/travis-deploy.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/travis-deploy.sh b/build-aux/travis-deploy.sh
index a959ccb..65f162e 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* ]]; then
+if [[ "x${TARGET}" != xw* ]] && [[ "x${TARGET}" != xdist* ]] && [[ "x${CC}" != xgcc ]]; then
echo "Nothing to deploy."
exit 0
fi
@@ -25,6 +25,7 @@ VERSION="$(grep PACKAGE_VERSION build/config.h | cut -d\" -f2)"
do_curl() {
curl \
+ --silent \
--ftp-create-dirs \
--upload-file "${1}" \
--user "${FTP_USER}:${FTP_PASSWORD}" \