From 139030e1fbd5abc11b4e368415f9670cb774c461 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Mon, 29 Oct 2018 19:50:02 +0000 Subject: [PATCH] travis/appveyor: only build from master or wip/* branches --- .appveyor.yml | 8 ++++++++ .travis.yml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 71e94eec6..f4b2933c6 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -6,6 +6,14 @@ environment: - JOB: "3.7 64-bit" PYTHON_HOME: "C:\\Python37-x64" +branches: + only: + - master + # We want to build wip/* branches since these are not usually used for PRs + - /^wip\/.*$/ + # We want to build version tags as well. + - /^\d+\.\d+.*$/ + 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 diff --git a/.travis.yml b/.travis.yml index 4223e959b..fe9a28c66 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,14 @@ env: - TWINE_USERNAME="anthrotype" - secure: PJuCmlDuwnojiw3QuDhfNAaU4f/yeJcEcRzJAudA66bwZK7hvxV7Tiy9A17Bm6yO0HbJmmyjsIr8h2e7/PyY6QCaV8RqcMDkQ0UraU16pRsihp0giVXJoWscj2sCP4cNDOBVwSaGAX8yZ2OONc5srESywghzcy8xmgw6O+XFqx4= +branches: + only: + - master + # We want to build wip/* branches since these are not usually used for PRs + - /^wip\/.*$/ + # We want to build version tags as well. + - /^\d+\.\d+.*$/ + matrix: fast_finish: true exclude: