2016-06-22 08:42:10 -04:00
|
|
|
version: 7.50.0.{build}
|
2015-09-17 09:34:47 -04:00
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- PRJ_GEN: "Visual Studio 11 2012 Win64"
|
|
|
|
BDIR: msvc2012
|
|
|
|
PRJ_CFG: Release
|
2016-01-28 07:57:28 -05:00
|
|
|
OPENSSL: OFF
|
2016-06-22 08:42:10 -04:00
|
|
|
TESTING: OFF
|
|
|
|
STATICLIB: OFF
|
2015-09-17 09:34:47 -04:00
|
|
|
- PRJ_GEN: "Visual Studio 12 2013 Win64"
|
|
|
|
BDIR: msvc2013
|
|
|
|
PRJ_CFG: Release
|
2016-01-28 07:57:28 -05:00
|
|
|
OPENSSL: OFF
|
2016-06-22 08:42:10 -04:00
|
|
|
TESTING: OFF
|
|
|
|
STATICLIB: OFF
|
2015-09-17 09:34:47 -04:00
|
|
|
- PRJ_GEN: "Visual Studio 14 2015 Win64"
|
|
|
|
BDIR: msvc2015
|
|
|
|
PRJ_CFG: Release
|
2016-01-28 07:57:28 -05:00
|
|
|
OPENSSL: OFF
|
2016-06-22 08:42:10 -04:00
|
|
|
TESTING: OFF
|
|
|
|
STATICLIB: OFF
|
2016-01-28 07:57:28 -05:00
|
|
|
- PRJ_GEN: "Visual Studio 11 2012 Win64"
|
|
|
|
BDIR: msvc2012
|
|
|
|
PRJ_CFG: Release
|
|
|
|
OPENSSL: ON
|
2016-06-22 08:42:10 -04:00
|
|
|
TESTING: OFF
|
|
|
|
STATICLIB: OFF
|
2016-01-28 07:57:28 -05:00
|
|
|
- PRJ_GEN: "Visual Studio 12 2013 Win64"
|
|
|
|
BDIR: msvc2013
|
|
|
|
PRJ_CFG: Release
|
|
|
|
OPENSSL: ON
|
2016-06-22 08:42:10 -04:00
|
|
|
TESTING: OFF
|
|
|
|
STATICLIB: OFF
|
2016-01-28 07:57:28 -05:00
|
|
|
- PRJ_GEN: "Visual Studio 14 2015 Win64"
|
|
|
|
BDIR: msvc2015
|
|
|
|
PRJ_CFG: Release
|
|
|
|
OPENSSL: ON
|
2016-06-22 08:42:10 -04:00
|
|
|
TESTING: OFF
|
|
|
|
STATICLIB: OFF
|
|
|
|
- PRJ_GEN: "Visual Studio 11 2012 Win64"
|
|
|
|
BDIR: msvc2012
|
|
|
|
PRJ_CFG: Release
|
|
|
|
OPENSSL: OFF
|
|
|
|
TESTING: ON
|
|
|
|
STATICLIB: ON
|
|
|
|
- PRJ_GEN: "Visual Studio 12 2013 Win64"
|
|
|
|
BDIR: msvc2013
|
|
|
|
PRJ_CFG: Release
|
|
|
|
OPENSSL: OFF
|
|
|
|
TESTING: ON
|
|
|
|
STATICLIB: ON
|
|
|
|
- PRJ_GEN: "Visual Studio 14 2015 Win64"
|
|
|
|
BDIR: msvc2015
|
|
|
|
PRJ_CFG: Release
|
|
|
|
OPENSSL: OFF
|
|
|
|
TESTING: ON
|
|
|
|
STATICLIB: ON
|
2016-01-28 07:57:28 -05:00
|
|
|
|
2015-09-17 09:34:47 -04:00
|
|
|
|
|
|
|
build_script:
|
|
|
|
- mkdir build.%BDIR%
|
|
|
|
- cd build.%BDIR%
|
2017-07-18 13:06:55 -04:00
|
|
|
- cmake .. -G"%PRJ_GEN%" -DCMAKE_USE_OPENSSL=%OPENSSL% -DCURL_STATICLIB=%STATICLIB% -DBUILD_TESTING=%TESTING% -DCURL_WERROR=ON
|
2015-09-17 09:34:47 -04:00
|
|
|
- cmake --build . --config %PRJ_CFG% --clean-first
|
2017-06-20 17:00:49 -04:00
|
|
|
|
|
|
|
# whitelist branches to avoid testing feature branches twice (as branch and as pull request)
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|