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