mirror of https://github.com/moparisthebest/curl
ci: whitelist branches to avoid testing feature branches twice
This commit is contained in:
parent
60c655ac07
commit
f541f7b94a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue