aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-09 22:22:48 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-09 22:22:48 +0100
commit3ead966f48bc47444d7ec72f46e94e73557695a5 (patch)
treedfec19eb12864bcfce48b2acfaf42a4341c72363
parent06db24fefadef5056cc2e14b9791a95614ba9ff2 (diff)
downloadblogc-3ead966f48bc47444d7ec72f46e94e73557695a5.tar.gz
blogc-3ead966f48bc47444d7ec72f46e94e73557695a5.tar.bz2
blogc-3ead966f48bc47444d7ec72f46e94e73557695a5.zip
travis: improved deploy conditions
-rw-r--r--.travis.yml4
-rwxr-xr-xbuild-aux/travis-deploy.sh5
2 files changed, 3 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 84d8680..cd2d134 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -44,4 +44,6 @@ deploy:
on:
repo: blogc/blogc
branch: master
- condition: $CC = gcc
+ condition:
+ - $CC = gcc
+ - $TARGET != valgrind
diff --git a/build-aux/travis-deploy.sh b/build-aux/travis-deploy.sh
index 267c8d5..71469ff 100755
--- a/build-aux/travis-deploy.sh
+++ b/build-aux/travis-deploy.sh
@@ -2,11 +2,6 @@
set -e
-if [[ "x${TARGET}" != xw* ]] && [[ "x${TARGET}" != xdist* ]]; then
- echo "Nothing to deploy."
- exit 0
-fi
-
if [[ ! -d build ]]; then
echo "Build directory not found."
exit 1