Skip to content

Commit

Permalink
Merge pull request #87 from tonerdo/codecov
Browse files Browse the repository at this point in the history
Replace coveralls with codecov
  • Loading branch information
tonerdo committed May 5, 2018
2 parents ad60a1c + 5aee3fd commit 5d5057e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -10,4 +10,7 @@ env:
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
script:
- dotnet msbuild build.proj
- dotnet msbuild build.proj /p:Configuration=Release
- dotnet msbuild build.proj /p:Configuration=Release
- curl -s https://codecov.io/bash > codecov
- chmod +x codecov
- ./codecov -f ./test/coverlet.core.tests/coverage.xml
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# coverlet [![Build Status](https://www.travis-ci.org/tonerdo/coverlet.svg?branch=master)](https://www.travis-ci.org/tonerdo/coverlet) [![Build status](https://ci.appveyor.com/api/projects/status/6rdf00wufospr4r8/branch/master?svg=true)](https://ci.appveyor.com/project/tonerdo/coverlet) [![Coverage Status](https://coveralls.io/repos/github/tonerdo/coverlet/badge.svg?branch=master)](https://coveralls.io/github/tonerdo/coverlet?branch=master) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
# coverlet [![Build Status](https://www.travis-ci.org/tonerdo/coverlet.svg?branch=master)](https://www.travis-ci.org/tonerdo/coverlet) [![Build status](https://ci.appveyor.com/api/projects/status/6rdf00wufospr4r8/branch/master?svg=true)](https://ci.appveyor.com/project/tonerdo/coverlet) [![codecov](https://codecov.io/gh/tonerdo/coverlet/branch/master/graph/badge.svg)](https://codecov.io/gh/tonerdo/coverlet) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

Coverlet is a cross platform code coverage library for .NET Core, with support for line, branch and method coverage.

Expand Down
3 changes: 1 addition & 2 deletions appveyor.yml
Expand Up @@ -6,5 +6,4 @@ build_script:
- echo "Building for %CONFIGURATION%"
- dotnet msbuild build.proj /p:Configuration=%CONFIGURATION%
test_script:
- ps: if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
- cmd: IF "%CONFIGURATION%"=="Release" ( %USERPROFILE%\.nuget\packages\coveralls.net\0.7.0\tools\csmacnz.Coveralls.exe --opencover -i test\coverlet.core.tests\coverage.xml --useRelativePaths )
- ps: if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
1 change: 0 additions & 1 deletion test/coverlet.core.tests/coverlet.core.tests.csproj
Expand Up @@ -7,7 +7,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coveralls.net" Version="0.7.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="Moq" Version="4.8.1" />
<PackageReference Include="xunit" Version="2.3.1" />
Expand Down

0 comments on commit 5d5057e

Please sign in to comment.