diff --git a/.travis.yml b/.travis.yml index 9f9da7337..6c712a999 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,7 @@ env: - DOTNET_CLI_TELEMETRY_OPTOUT: 1 script: - dotnet msbuild build.proj - - dotnet msbuild build.proj /p:Configuration=Release \ No newline at end of file + - 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 \ No newline at end of file diff --git a/README.md b/README.md index 2756802f1..03a391690 100644 --- a/README.md +++ b/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. diff --git a/appveyor.yml b/appveyor.yml index ba3e0dfda..2ce36d2df 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 ) \ No newline at end of file + - ps: if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } \ No newline at end of file diff --git a/test/coverlet.core.tests/coverlet.core.tests.csproj b/test/coverlet.core.tests/coverlet.core.tests.csproj index d80f0701e..a181353e8 100644 --- a/test/coverlet.core.tests/coverlet.core.tests.csproj +++ b/test/coverlet.core.tests/coverlet.core.tests.csproj @@ -7,7 +7,6 @@ -