diff --git a/.travis.yml b/.travis.yml index ecb749d6f..7a9120315 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,7 @@ jobs: node_js: 8 - env: NPM_SCRIPT=build node_js: 8 - if: not (branch in (master, develop) and type != pull_request) + if: not (type != pull_request AND (branch =~ /^(develop|master|hotfix\/)/)) - stage: release node_js: 8 env: NPM_SCRIPT=build @@ -81,4 +81,4 @@ jobs: stages: - test - name: release - if: branch in (master, develop) and type != pull_request + if: type != pull_request AND (branch =~ /^(develop|master|hotfix\/)/)