You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2018/07/09 12:58:14 UTC

[couchdb] branch master updated: feat: avoid double builds on PRs

This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 142eb6b  feat: avoid double builds on PRs
142eb6b is described below

commit 142eb6b84f1ec6352e269a84cc87ccba3c9a113f
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Sun Jul 8 15:57:34 2018 +0200

    feat: avoid double builds on PRs
---
 .travis.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index fe84f87..cfa403b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -64,6 +64,14 @@ script:
 after_failure:
   - build-aux/logfile-uploader.py
 
+# start a push build on master and release branches + PRs build on every branch
+# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
+branches:
+  only:
+    - master
+    - /^\d+\.x\.x$/
+    - /^\d+\.\d+\.x$/
+
 # Re-enable once test suite is reliable
 #notifications:
 #  email: false