Browse Source

Added CodeCov uploading.

pull/755/head
Jeremy Koritzinsky 10 years ago
parent
commit
5edb20fdfe
  1. 5
      appveyor.yml
  2. 2
      build.cake

5
appveyor.yml

@ -20,6 +20,11 @@ build_script:
- ps: .\build.ps1 -Target "AppVeyor" -Platform "$env:platform" -Configuration "$env:configuration"
after_build:
- .\packages\JetBrains.dotMemoryUnit.2.1.20150828.125449\tools\dotMemoryUnit.exe -targetExecutable="%xunit20%\xunit.console.x86.exe" -returnTargetExitCode --"tests\Avalonia.LeakTests\bin\Release\Avalonia.LeakTests.dll"
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "./artifacts/coverage.xml"
test: off
artifacts:
- path: artifacts\nuget\*.nupkg

2
build.cake

@ -680,7 +680,7 @@ Task("Run-Unit-Tests")
xUnitSettings.NoAppDomain = !isRunningOnWindows;
var openCoverOutput = artifactsDir.GetFilePath(new FilePath("./result.xml"));
var openCoverOutput = artifactsDir.GetFilePath(new FilePath("./coverage.xml"));
var openCoverSettings = new OpenCoverSettings
{
ArgumentCustomization = openCoverArgs => openCoverArgs.AppendSwitch("-mergeoutput", "")

Loading…
Cancel
Save