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