From c462064a40890eb6c891855ca39cd1f9969df741 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Thu, 20 Jul 2017 16:26:40 -0500 Subject: [PATCH] Use the codecov uploader from NuGet --- .nuget/packages.config | 1 + PerfView.sln | 1 + appveyor.yml | 4 +--- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.nuget/packages.config b/.nuget/packages.config index 973b7f81b..b4f7d52bc 100644 --- a/.nuget/packages.config +++ b/.nuget/packages.config @@ -1,4 +1,5 @@ + \ No newline at end of file diff --git a/PerfView.sln b/PerfView.sln index 937719212..b463a1cf9 100644 --- a/PerfView.sln +++ b/PerfView.sln @@ -28,6 +28,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution ProjectSection(SolutionItems) = preProject appveyor.yml = appveyor.yml CONTRIBUTING.md = CONTRIBUTING.md + .nuget\packages.config = .nuget\packages.config README.md = README.md EndProjectSection EndProject diff --git a/appveyor.yml b/appveyor.yml index ce4a9f413..182decf8b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -30,9 +30,7 @@ test_script: - .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"C:\projects\perfview\src\TraceEvent\Ctf\CtfTracing.Tests\bin\%configuration%\Tests.dll -noshadow -appveyor" -threshold:1 -oldStyle -returntargetcode -filter:"+[*]* -[Xunit*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -excludebyfile:*\*Designer.cs -hideskipped:All -mergebyhash -mergeoutput -output:.\PerfView_coverage.xml - .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"C:\projects\perfview\src\TraceEvent\TraceEvent.Tests\bin\%configuration%\TraceEventTests.dll -noshadow -appveyor" -threshold:1 -oldStyle -returntargetcode -filter:"+[*]* -[Xunit*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -excludebyfile:*\*Designer.cs -hideskipped:All -mergebyhash -mergeoutput -output:.\PerfView_coverage.xml - .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"C:\projects\perfview\src\PerfView.Tests\bin\%configuration%\PerfViewTests.dll -noshadow -appveyor" -threshold:1 -oldStyle -returntargetcode -filter:"+[*]* -[Xunit*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -excludebyfile:*\*Designer.cs -hideskipped:All -mergebyhash -mergeoutput -output:.\PerfView_coverage.xml -- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%" -- pip install codecov -- codecov -n "VS%image_flag% %configuration%" -f "PerfView_coverage.xml" -F "%image_flag%,%configuration%" +- .\packages\Codecov.1.0.1\tools\codecov.exe -n "VS%image_flag% %configuration%" -f "PerfView_coverage.xml" -F "%image_flag%,%configuration%" # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified cache: - packages -> **\packages.config