From eca12fecefb3a572845eecf354005db950a81a95 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 2 May 2019 11:15:30 +0200 Subject: [PATCH] tweak ci scripts --- ci/after-success.sh | 2 +- ci/script.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/after-success.sh b/ci/after-success.sh index 65ddb90483..e7d24ef869 100644 --- a/ci/after-success.sh +++ b/ci/after-success.sh @@ -37,6 +37,6 @@ if [ -z ${TRAVIS_PULL_REQUEST-} ]; then TRAVIS_PULL_REQUEST=false fi -if [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ]; then +if { [ $TRAVIS_BRANCH = master ] || [ $TRAVIS_BRANCH = v0.4.x ]; } && [ $TRAVIS_PULL_REQUEST = false ]; then main fi diff --git a/ci/script.sh b/ci/script.sh index 492f33f6bd..327bdfc3ea 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -224,6 +224,6 @@ if [ -z ${TARGET-} ]; then TARGET=$(rustc -Vv | grep host | cut -d ' ' -f2) fi -if [ $TRAVIS_BRANCH != master ] || [ $TRAVIS_PULL_REQUEST != false ]; then +if { [ $TRAVIS_BRANCH != master ] && [ $TRAVIS_BRANCH != v0.4.x ]; } || [ $TRAVIS_PULL_REQUEST != false ]; then main fi