tweak ci scripts

This commit is contained in:
Jorge Aparicio 2019-05-02 11:15:30 +02:00
parent 3a4f8b0ad5
commit eca12fecef
2 changed files with 2 additions and 2 deletions

View file

@ -37,6 +37,6 @@ if [ -z ${TRAVIS_PULL_REQUEST-} ]; then
TRAVIS_PULL_REQUEST=false TRAVIS_PULL_REQUEST=false
fi 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 main
fi fi

View file

@ -224,6 +224,6 @@ if [ -z ${TARGET-} ]; then
TARGET=$(rustc -Vv | grep host | cut -d ' ' -f2) TARGET=$(rustc -Vv | grep host | cut -d ' ' -f2)
fi 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 main
fi fi