Speed up AppVeyor build times

* Examples are no longer built for all images
* Coverage is no longer collected from every build
* The number of configurations is reduced
This commit is contained in:
Martin Hořeňovský
2018-03-06 22:46:49 +01:00
parent 9d1858b195
commit dc8a8e6371
4 changed files with 67 additions and 16 deletions
+7 -3
View File
@@ -1,8 +1,12 @@
cd Build
if "%CONFIGURATION%"=="Debug" (
ctest -j 2 -C %CONFIGURATION% -D ExperimentalMemCheck
python ..\misc\appveyorMergeCoverageScript.py
codecov --root .. --no-color --disable gcov -f cobertura.xml -t %CODECOV_TOKEN%
if "%coverage%"=="1" (
ctest -j 2 -C %CONFIGURATION% -D ExperimentalMemCheck
python ..\misc\appveyorMergeCoverageScript.py
codecov --root .. --no-color --disable gcov -f cobertura.xml -t %CODECOV_TOKEN%
) else (
ctest -j 2 -C %CONFIGURATION%
)
)
if "%CONFIGURATION%"=="Release" (
ctest -j 2 -C %CONFIGURATION%