From 4b57d09882086209464b68d0fff9aea4aa4857fa Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Mon, 26 Jun 2017 22:45:06 -0700 Subject: [PATCH] Add support for MinGW builds on AppVeyor Use cygwin to build coverage build and upload coverage data to codecov. --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index efae639..4663f4f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,6 +10,7 @@ build_script: test_script: - ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015") { .\tests\autotest-appveyor.ps1 9 10 11 12 14 } - ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2017") { .\tests\autotest-appveyor.ps1 15 } + - ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015") { & C:\cygwin\bin\bash.exe -c "PATH=/usr/bin:/usr/local/bin:$PATH; make config=coverage test && bash <(curl -s https://codecov.io/bash) -f pugixml.cpp.gcov" } artifacts: - path: .\scripts\*.nupkg