From 3ead966f48bc47444d7ec72f46e94e73557695a5 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 9 Mar 2016 22:22:48 +0100 Subject: travis: improved deploy conditions --- .travis.yml | 4 +++- build-aux/travis-deploy.sh | 5 ----- 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 -- cgit v1.2.3-18-g5258