Skip to content

Commit

Permalink
Merge pull request #185 from tonerdo/submit-code-coverage
Browse files Browse the repository at this point in the history
Submit code coverage to CodeCov
  • Loading branch information
tonerdo authored Sep 1, 2018
2 parents 7c44cea + ed9de3d commit 735daa4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ configuration:
- Debug
- Release
build_script:
- ps: echo "Building for $env:CONFIGURATION"
- ps: echo "Building for $env:CONFIGURATION on $env:APPVEYOR_BUILD_WORKER_IMAGE"
- ps: dotnet msbuild build.proj /p:Configuration=$env:CONFIGURATION
test_script:
- ps: if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
- ps: if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
- ps: |
if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Ubuntu" -and $env:CONFIGURATION -eq "Release") {
curl -s https://codecov.io/bash > codecov
chmod +x codecov
./codecov -f ./test/coverlet.core.tests/coverage.opencover.xml
}

0 comments on commit 735daa4

Please sign in to comment.