Skip to content

Commit

Permalink
Disable Appveyor builds on branches.
Browse files Browse the repository at this point in the history
Our account for Appveyor allows only 1 concurrent build.  Our current Appveyor config builds every commit to a PR twice -- once as the PR and once as the branch.  This CL updates our Appveyor config to disable builds on branches, so we get only one build per PR commit.

PiperOrigin-RevId: 320734870
  • Loading branch information
Eddie Aftandilian authored and google-java-format Team committed Jul 11, 2020
1 parent 02a072f commit 1715884
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Don't build branches that are not PRs, to avoid double builds.
branches:
only:
- master

os: Visual Studio 2015

install:
- ps: |
Add-Type -AssemblyName System.IO.Compression.FileSystem
Expand Down

0 comments on commit 1715884

Please sign in to comment.