2015-10-01 17:17:01 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
2015-10-02 05:45:59 +08:00
|
|
|
- GENERATOR: "Visual Studio 12 2013"
|
|
|
|
CONFIG: Release
|
|
|
|
|
|
|
|
- GENERATOR: "Visual Studio 14 2015"
|
2015-10-02 00:21:20 +08:00
|
|
|
CONFIG: Release
|
2015-10-01 17:17:01 +08:00
|
|
|
|
2015-10-01 18:01:39 +08:00
|
|
|
install:
|
|
|
|
- git submodule init
|
|
|
|
- git submodule update
|
|
|
|
|
2015-10-01 17:17:01 +08:00
|
|
|
build_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2015-10-01 17:40:20 +08:00
|
|
|
- cmake "-G%GENERATOR%" -DBOOST_ROOT="C:\Libraries\boost" -DBOOST_LIBRARYDIR="c:\Libraries\boost\stage\lib" -DBoost_USE_STATIC_LIBS=ON -DWITH_UNIT_TESTS=ON ..
|
2015-10-01 17:17:01 +08:00
|
|
|
- cmake --build . --config "%CONFIG%"
|
2015-10-01 18:50:40 +08:00
|
|
|
|
|
|
|
test_script:
|
2015-10-01 18:54:34 +08:00
|
|
|
- ctest --build-config "%CONFIG%"
|