appveyorTestRunScript.bat 530 B

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