From 2abc6c6b3ddb44e376283feb45941124d7d927a0 Mon Sep 17 00:00:00 2001 From: Luk Vermeulen Date: Sat, 18 Feb 2017 18:37:43 +0100 Subject: [PATCH] add codecov.io badge --- Flurl.Http.Xml.sln | 1 + README.md | 4 +++- build/cover.ps1 | 3 +++ codecov.yml | 11 +++++++++++ 4 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 codecov.yml diff --git a/Flurl.Http.Xml.sln b/Flurl.Http.Xml.sln index c95a341..8976ded 100644 --- a/Flurl.Http.Xml.sln +++ b/Flurl.Http.Xml.sln @@ -8,6 +8,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .gitattributes = .gitattributes .gitignore = .gitignore appveyor.yml = appveyor.yml + codecov.yml = codecov.yml global.json = global.json README.md = README.md EndProjectSection diff --git a/README.md b/README.md index 3a57082..67948d0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ ![Icon](http://i.imgur.com/llEKpRL.png?1) -# Flurl.Http.Xml [![Build status](https://ci.appveyor.com/api/projects/status/16qwl13xsaylb450?svg=true)](https://ci.appveyor.com/project/lvermeulen/flurl-http-xml) [![license](https://img.shields.io/github/license/lvermeulen/Flurl.Http.Xml.svg?maxAge=2592000)](https://github.com/lvermeulen/Flurl.Http.Xml/blob/master/LICENSE) [![NuGet](https://img.shields.io/nuget/v/Flurl.Http.Xml.svg?maxAge=86400)](https://www.nuget.org/packages/Flurl.Http.Xml/) [![Coverage Status](https://coveralls.io/repos/github/lvermeulen/Flurl.Http.Xml/badge.svg?branch=master)](https://coveralls.io/github/lvermeulen/Flurl.Http.Xml?branch=master) [![Dependency Status](https://dependencyci.com/github/lvermeulen/Flurl.Http.Xml/badge)](https://dependencyci.com/github/lvermeulen/Flurl.Http.Xml) [![Join the chat at https://gitter.im/lvermeulen/Flurl.Http.Xml](https://badges.gitter.im/lvermeulen/Flurl.Http.Xml.svg)](https://gitter.im/lvermeulen/Flurl.Http.Xml?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) ![](https://img.shields.io/badge/.net-4.5-yellowgreen.svg) ![](https://img.shields.io/badge/netstandard-1.4-yellowgreen.svg) +# Flurl.Http.Xml +[![Build status](https://ci.appveyor.com/api/projects/status/16qwl13xsaylb450?svg=true)](https://ci.appveyor.com/project/lvermeulen/flurl-http-xml) [![license](https://img.shields.io/github/license/lvermeulen/Flurl.Http.Xml.svg?maxAge=2592000)](https://github.com/lvermeulen/Flurl.Http.Xml/blob/master/LICENSE) [![NuGet](https://img.shields.io/nuget/v/Flurl.Http.Xml.svg?maxAge=86400)](https://www.nuget.org/packages/Flurl.Http.Xml/) [![Coverage Status](https://coveralls.io/repos/github/lvermeulen/Flurl.Http.Xml/badge.svg?branch=master)](https://coveralls.io/github/lvermeulen/Flurl.Http.Xml?branch=master) [![codecov](https://codecov.io/gh/lvermeulen/Flurl.Http.Xml/branch/master/graph/badge.svg)](https://codecov.io/gh/lvermeulen/Flurl.Http.Xml) [![Dependency Status](https://dependencyci.com/github/lvermeulen/Flurl.Http.Xml/badge)](https://dependencyci.com/github/lvermeulen/Flurl.Http.Xml) [![Join the chat at https://gitter.im/lvermeulen/Flurl.Http.Xml](https://badges.gitter.im/lvermeulen/Flurl.Http.Xml.svg)](https://gitter.im/lvermeulen/Flurl.Http.Xml?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) ![](https://img.shields.io/badge/.net-4.5-yellowgreen.svg) ![](https://img.shields.io/badge/netstandard-1.4-yellowgreen.svg) + XML extension to the excellent [Flurl](https://github.com/tmenier/Flurl) library ##Features: diff --git a/build/cover.ps1 b/build/cover.ps1 index d572474..6beee3b 100644 --- a/build/cover.ps1 +++ b/build/cover.ps1 @@ -64,4 +64,7 @@ Write-Output "Sending code coverage results to coveralls.io" 7z a codecoverage.zip $tempCoverageFileName Push-AppveyorArtifact codecoverage.zip +pip install codecov +codecov -f $tempCoverageFileName + diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..98dd8a1 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,11 @@ +coverage: + precision: 0 + round: nearest + range: "50...90" + status: + patch: + default: + target: 50 +comment: + layout: "header, diff, changes, sunburst, uncovered" + branches: null