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