👷 another try

This commit is contained in:
Niels Lohmann 2017-04-09 11:47:31 +02:00
parent 180d249f6c
commit a9f4094580
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -1,9 +1,5 @@
version: '{build}' version: '{build}'
configuration:
- Debug
- Release
os: os:
- Visual Studio 2015 - Visual Studio 2015
- Visual Studio 2017 - Visual Studio 2017
@ -19,7 +15,7 @@ install: []
build_script: build_script:
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" ( SET GEN="Visual Studio 14 2015") ELSE (SET GEN="Visual Studio 15 2017") - IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" ( SET GEN="Visual Studio 14 2015") ELSE (SET GEN="Visual Studio 15 2017")
- cmake . -G%GEN% -DCMAKE_CXX_FLAGS="${CMAKE_CXXFLAGS} %additional_flags%" - cmake . -G%GEN% -DCMAKE_CXX_FLAGS="%additional_flags%"
- cmake --build . --config Release - cmake --build . --config Release
test_script: test_script: