Skip to content

Commit c5a89c6

Browse files
committed
Added Codecov and COVERALLS
1 parent 4fddebd commit c5a89c6

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
**Mono Latest:** | **.NET 4.5 & .NET Core:** | **NuGet**
2-
------------ | ------------- | -------------
3-
| | [![Build status](https://ci.appveyor.com/api/projects/status/puku2ym0k1n7ryde?svg=true)](https://ci.appveyor.com/project/Aragas/pclext-filestorage) | [![nugetpkg](https://img.shields.io/badge/nuget-PCLExt.FileStorage-orange.svg)](https://www.nuget.org/packages/PCLExt.FileStorage)
1+
**Mono Latest:** | **.NET 4.5 & .NET Core:** | **NuGet** | **Codecov** | **COVERALLS**
2+
------------ | ------------- | ------------- | ------------- | -------------
3+
| [![Build Status](https://travis-ci.org/PCLExt/PCLExt.FileStorage.svg?branch=master)](https://travis-ci.org/PCLExt/PCLExt.FileStorage) | [![Build status](https://ci.appveyor.com/api/projects/status/puku2ym0k1n7ryde?svg=true)](https://ci.appveyor.com/project/Aragas/pclext-filestorage) | [![nugetpkg](https://img.shields.io/badge/nuget-PCLExt.FileStorage-orange.svg)](https://www.nuget.org/packages/PCLExt.FileStorage) | [![Coverage Status](https://coveralls.io/repos/github/PCLExt/PCLExt.FileStorage/badge.svg?branch=master)](https://coveralls.io/github/PCLExt/PCLExt.FileStorage?branch=master) | [![codecov](https://codecov.io/gh/PCLExt/PCLExt.FileStorage/branch/master/graph/badge.svg)](https://codecov.io/gh/PCLExt/PCLExt.FileStorage)
44

55
# PCLExt.FileStorage
66

appveyor.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ configuration:
55
- Release
66
platform: Any CPU
77

8+
environment:
9+
COVERALLS_REPO_TOKEN:
10+
secure: 7poiWT8gLPZOdo8fwSWeerKD+flRokWUY3Ke5s4TW9+vejCzcH8AXY4pwurPxb9D
11+
812
install:
913
- git submodule update --init --recursive
1014

@@ -14,3 +18,12 @@ before_build:
1418
build:
1519
project: PCLExt.FileStorage.sln
1620
verbosity: minimal
21+
22+
after_test:
23+
- choco install codecov
24+
- nuget install NUnit.ConsoleRunner -Version 3.7.0 -OutputDirectory tools
25+
- nuget install OpenCover -Version 4.6.519 -OutputDirectory tools
26+
- nuget install coveralls.io -Version 1.4.2 -OutputDirectory tools
27+
- cmd: .\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -filter:"+[*]*" -target:".\tools\NUnit.ConsoleRunner.3.7.0\tools\nunit3-console.exe" -targetargs:"/domain:single test/PCLExt.FileStorage.NetFX.Test/bin/Debug/PCLExt.FileStorage.NetFX.Test.dll" -output:coverage.xml
28+
- cmd: .\tools\coveralls.io.1.4.2\tools\coveralls.net.exe --opencover coverage.xml -r %COVERALLS_REPO_TOKEN%
29+
- codecov -f coverage.xml

0 commit comments

Comments
 (0)