From 3e91a7c25f84368a5eefce9cd38088464f941815 Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Sun, 7 Jun 2020 14:55:48 +0200 Subject: [PATCH] Avoid double builds on AppVeyor & Travis for PR branches --- .appveyor.yml | 10 ++++++++-- .travis.yml | 10 ++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 6641b6d64..befe651cd 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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: diff --git a/.travis.yml b/.travis.yml index 1f6cb8fa6..bb01d8c1e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: