ci: whitelist branches to avoid testing feature branches twice

This commit is contained in:
Simon Warta 2017-06-20 23:00:49 +02:00 committed by Daniel Stenberg
parent 60c655ac07
commit f541f7b94a
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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