aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Warta <simon@kullo.net>2017-06-20 23:00:49 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-21 09:52:44 +0100
commitf541f7b94a4b68c414394ac56fd66a0ed0a19e6d (patch)
tree7925d9f07ad87e1be8c962ba3b76715025a11128
parent60c655ac076dbb874021a194dde131efaf68447b (diff)
ci: whitelist branches to avoid testing feature branches twice
-rw-r--r--.travis.yml5
-rw-r--r--appveyor.yml5
2 files changed, 10 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index a7f5fd074..b7bd768d9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -90,5 +90,10 @@ script:
(tar xf curl-99.98.97.tar.gz && mkdir build && cd build && ../curl-99.98.97/configure && make && make TFLAGS=1 test)
fi
+# whitelist branches to avoid testing feature branches twice (as branch and as pull request)
+branches:
+ only:
+ - master
+
notifications:
email: false
diff --git a/appveyor.yml b/appveyor.yml
index b9d5a7f2f..8e55009da 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -63,3 +63,8 @@ build_script:
- cd build.%BDIR%
- cmake .. -G"%PRJ_GEN%" -DCMAKE_USE_OPENSSL=%OPENSSL% -DCURL_STATICLIB=%STATICLIB% -DBUILD_TESTING=%TESTING%
- cmake --build . --config %PRJ_CFG% --clean-first
+
+# whitelist branches to avoid testing feature branches twice (as branch and as pull request)
+branches:
+ only:
+ - master