Skip to content

Commit

Permalink
don't build pull request, just branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
willgraf committed Jan 12, 2019
1 parent 520d913 commit 03e0495
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 @@ -24,7 +24,7 @@ script:
jobs:
include:
- stage: deploy
if: branch = master OR branch =~ ^r[0-9]+.[0-9]+
if: (branch = master OR branch =~ ^r[0-9]+.[0-9]+) AND type != pull_request
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t "$TRAVIS_REPO_SLUG" .
Expand Down

0 comments on commit 03e0495

Please sign in to comment.