From 8e08a27c4c18f2cf679d7b6528914fffe31f0bec Mon Sep 17 00:00:00 2001 From: Michael Koppen Date: Thu, 23 May 2019 10:45:18 +0200 Subject: [PATCH] runfix: Prevent docker builds for PRs --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4736d7ce6f0..b928f6e09df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,7 +58,7 @@ after_success: fi fi - | - if [ "$TRAVIS_BRANCH" == "prod" ]; then + if [ "$TRAVIS_BRANCH" == "prod" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then yarn build:prod || { echo 'contents of npm-debug.log:' && cat /home/travis/build/wireapp/wire-webapp/npm-debug.log && exit 1; } if [ "$DISTRIBUTION" == "wire" ]; then yarn docker '' production