Skip to content

Commit

Permalink
Avoid double builds on AppVeyor & Travis for PR branches
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Jun 7, 2020
1 parent 4e852b9 commit 3e91a7c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Continuous integration procedure for AppVeyor
# Based on https://github.com/rmcgibbo/python-appveyor-conda-example
# Continuous integration configuration for AppVeyor

branches:
# Do not build PR branches in the main repo; only maintenance branches and
# the merge results of PRs
only:
- master
- 2.0.x

environment:
matrix:
Expand Down
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Continuous integration configuration for Travis
# NB use https://config.travis-ci.com/explore to validate changes

branches:
# Do not build PR branches in the main repo; only maintenance branches and
# the merge results of PRs
only:
- master
- 2.0.x

language: minimal

env:
Expand Down

0 comments on commit 3e91a7c

Please sign in to comment.