Add codecov.io coverage collection from AppVeyor

Also had to add new project to redirect CTest output, add
separate batch scripts for AppVeyor because it doesn't handle
multi-line batch scripts in yaml properly, and other helper
scripts.
This commit is contained in:
Martin Hořeňovský
2017-12-03 13:03:52 +01:00
parent dfa817ae73
commit 45a465713e
9 changed files with 176 additions and 12 deletions
+11
View File
@@ -0,0 +1,11 @@
cd Build
if "%CONFIGURATION%"=="Debug" (
echo "appveyorTestScript.bat thinks this is a Debug build"
ctest -j 2 -C %CONFIGURATION% -D ExperimentalMemCheck
python ..\misc\appveyorMergeCoverageScript.py
codecov --root .. --no-color --disable gcov -f cobertura.xml -t %CODECOV_TOKEN%
)
if "%CONFIGURATION%"=="Release" (
echo "appveyorTestScript.bat thinks this is a Release build"
ctest -j 2 -C %CONFIGURATION%
)