From df17baac1819a40545a7274c46eba9063261394a Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Mon, 3 Dec 2018 12:19:46 +0100 Subject: [PATCH] Revert "Build system: Use conditional build stages for deploying" This reverts commit c7862de924627af6831eb492ce3ce482a799c726. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f56ebbd..d5d7c11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,9 +24,10 @@ jobs: # Deployment stage - stage: deploy - if: (type == "push") AND ((tag IS present) OR (branch IN env(DEPLOY_PHPDOC_BRANCHES))) sudo: required install: + - '[ "$TRAVIS_PULL_REQUEST" == "false" ] || travis_terminate 0' + - '[ -n "$TRAVIS_TAG" ] || [[ ",$DEPLOY_PHPDOC_BRANCHES," == *,"$TRAVIS_BRANCH",* ]] || travis_terminate 0' - install.sh --deploy script: - deploy.sh