Skip to content

Commit

Permalink
runfix: Prevent docker builds for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yserz committed May 23, 2019
1 parent 9902d2a commit 8e08a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e08a27

Please sign in to comment.