summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2018-07-08 15:57:34 +0200
committerJan Lehnardt <jan@apache.org>2018-07-09 14:58:11 +0200
commit142eb6b84f1ec6352e269a84cc87ccba3c9a113f (patch)
tree6714293a21641e0a06649d27b4596eda807d9a27
parent54577f13de4b11ddecd8fb3ca67cde754cd4c94d (diff)
downloadcouchdb-142eb6b84f1ec6352e269a84cc87ccba3c9a113f.tar.gz
feat: avoid double builds on PRs
-rw-r--r--.travis.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index fe84f87c4..cfa403bf3 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