From 64cecd92f9ec61d23d4c43034f60591f8b140543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 4 Sep 2019 14:07:37 +0200 Subject: [PATCH] ? --- package/ci/appveyor-desktop-gles.bat | 4 ++++ package/ci/appveyor-desktop.bat | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/package/ci/appveyor-desktop-gles.bat b/package/ci/appveyor-desktop-gles.bat index 0b024ee..6fe6d7d 100644 --- a/package/ci/appveyor-desktop-gles.bat +++ b/package/ci/appveyor-desktop-gles.bat @@ -100,10 +100,14 @@ coverage combine || exit /b rem I am unable to convince codecov to relocate paths using codecov.yml so rem let's do that manually. But that doesn't work either. powershell -Command "(gc .coverage) -replace 'C:\\\\projects\\\\magnum-bindings\\\\build\\\\src\\\\python\\\\', 'C:\\projects\\magnum-bindings\\src\\python\\' | Out-File -encoding ASCII .coverage" || exit /b + +type .coverage + del ..\..\build\src\python\corrade\__init__.py || exit /b del ..\..\build\src\python\magnum\__init__.py || exit /b del ..\..\build\src\python\magnum\platform\__init__.py || exit /b +cd ..\.. codecov -X gcov || exit /b type coverage.xml diff --git a/package/ci/appveyor-desktop.bat b/package/ci/appveyor-desktop.bat index 602886c..7c87e91 100644 --- a/package/ci/appveyor-desktop.bat +++ b/package/ci/appveyor-desktop.bat @@ -101,10 +101,14 @@ coverage combine || exit /b rem I am unable to convince codecov to relocate paths using codecov.yml so rem let's do that manually. But that doesn't work either. powershell -Command "(gc .coverage) -replace 'C:\\\\projects\\\\magnum-bindings\\\\build\\\\src\\\\python\\\\', 'C:\\projects\\magnum-bindings\\src\\python\\' | Out-File -encoding ASCII .coverage" || exit /b + +type .coverage + del ..\..\build\src\python\corrade\__init__.py || exit /b del ..\..\build\src\python\magnum\__init__.py || exit /b del ..\..\build\src\python\magnum\platform\__init__.py || exit /b +cd ..\.. codecov -X gcov || exit /b type coverage.xml