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