1SETLOCAL EnableDelayedExpansion 2 3cd Build 4if "%CONFIGURATION%"=="Debug" ( 5 if "%coverage%"=="1" ( 6 ctest -j 2 -C %CONFIGURATION% -D ExperimentalMemCheck || exit /b !ERRORLEVEL! 7 python ..\misc\appveyorMergeCoverageScript.py || exit /b !ERRORLEVEL! 8 codecov --root .. --no-color --disable gcov -f cobertura.xml -t %CODECOV_TOKEN% || exit /b !ERRORLEVEL! 9 ) else ( 10 ctest -j 2 -C %CONFIGURATION% || exit /b !ERRORLEVEL! 11 ) 12) 13if "%CONFIGURATION%"=="Release" ( 14 ctest -j 2 -C %CONFIGURATION% || exit /b !ERRORLEVEL! 15) 16