Skip to content

Commit

Permalink
AppVeyor: Trigger just one build after initial PR opening
Browse files Browse the repository at this point in the history
Currently, pushing to a branch in the main repo and then opening a PR
about it will always trigger both a "pr" and "branch" build on AppVeyor.
This change should only trigger a build once after the PR was initially
opened.
  • Loading branch information
madig committed Apr 26, 2018
1 parent 5c13d7f commit 5046b0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ environment:
TOXENV: "py36-cov"
TOXPYTHON: "C:\\Python36-x64\\python.exe"

# Do not build feature branches with open Pull Requests after the initial
# opening of a PR.
skip_branch_with_pr: true

install:
# If there is a newer build queued for the same PR, cancel this one.
# The AppVeyor 'rollout builds' option is supposed to serve the same
Expand Down

0 comments on commit 5046b0d

Please sign in to comment.