make sure to specify debug or release with ctest using the Visual Studio generator

This commit is contained in:
ThePhD 2017-12-24 03:24:07 -05:00
parent 4fbb3b3fc5
commit c8339468ae

View File

@ -60,10 +60,12 @@ before_build:
- cmake .. -G "%CMAKE_GENERATOR%" -DLUA_VERSION="%LUA_VERSION%" -DBUILD_LUA=ON -DBUILD_LUA_AS_DLL=OFF -DTESTS=ON -DEXAMPLES=ON -DSINGLE=ON -DTESTS_EXAMPLES=ON -DTESTS_SINGLE=ON
build_script:
- cmake --build .
- cmake --build --config Debug .
- cmake --build --config Release .
test_script:
- ctest
- ctest -C Debug --output-on-failure
- ctest -C Release --output-on-failure
notifications:
- provider: Webhook