From bf1f83f47b49f746f1cd54076749a08e7b04250d Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Sat, 2 Mar 2019 02:16:22 +0100 Subject: [PATCH] Revert "Disable build for commits pushed on master (#6804)" (#6807) By removing all the builds on push to master, done in #6804, we also removing the coveralls reports that are necessary to calculate the effect of a PR on code coverage, that is part of the quality gate process. This PR is reverting #6804, and another implementation preserving the coveralls reports will be done soon. This reverts commit a468a3b255e326dbfa2b7d629eb20fa275631254. --- .travis.yml | 5 ----- appveyor.yml | 8 -------- 2 files changed, 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 108f853aa..4adab1e4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,11 +18,6 @@ branches: - /^\d+\.\d+\.x$/ - /^test-.*$/ -# Since master can receive only commits from PR that have already been tested, we avoid with the -# the following condition to launch again a pipeline when the merge commit is pushed to master. -# However master still needs to be set in branches section to allow PR for master to be built. -if: NOT (type = push AND branch = master) - matrix: include: # These environments are always executed diff --git a/appveyor.yml b/appveyor.yml index 5dcc80ba9..2b6b82747 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,14 +11,6 @@ branches: - /^\d+\.\d+\.x$/ # Version branches like X.X.X - /^test-.*$/ -init: - # Since master can receive only commits from PR that have already been tested, we avoid with the - # the following condition to launch again a pipeline when the merge commit is pushed to master. - # However master still needs to be set in branches section to allow PR for master to be built. - - ps: | - if (-Not $Env:APPVEYOR_PULL_REQUEST_NUMBER -And $Env:APPVEYOR_REPO_BRANCH -Eq 'master') - { $Env:APPVEYOR_SKIP_FINALIZE_ON_EXIT = 'true'; Exit-AppVeyorBuild } - install: # Use Python 3.7 by default - "SET PATH=C:\\Python37;C:\\Python37\\Scripts;%PATH%"