From bdc8ea0fe56045c8e5d130d7212af550f7f61d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E6=A5=9A=E5=90=9B?= Date: Fri, 24 Jul 2020 14:44:02 +0800 Subject: [PATCH] test01 --- .travis.yml | 9 ++++++++- README.md | 5 +++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 641e6286..7edece86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,9 @@ language: csharp install: - sudo apt-get install nunit + - npm install -g codecov + - choco install opencover.portable + - choco install xunit before_script: @@ -10,4 +13,8 @@ before_script: script: - - make build-and-test \ No newline at end of file + - make build-and-test + - OpenCover.Console.exe -register:user -target:"xunit.console.x86.exe" -targetargs:".\MyUnitTests\bin\Debug\MyUnitTests.dll -noshadow" -filter:"+[UnitTestTargetProject*]* -[MyUnitTests*]*" -output:".\MyProject_coverage.xml" + - codecov + + diff --git a/README.md b/README.md index 620601ba..8cc6b5e0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # Qiniu (Cloud) C# SDK +[![LICENSE](https://img.shields.io/github/license/qiniu/csharp-sdk.svg)](https://github.com/qiniu/csharp-sdk/blob/master/LICENSE) +[![Build Status](https://travis-ci.org/qiniu/csharp-sdk.svg?branch=master)](https://travis-ci.org/qiniu/csharp-sdk) +[![GitHub release](https://img.shields.io/github/v/tag/qiniu/csharp-sdk.svg?label=release)](https://github.com/qiniu/csharp-sdk/releases) +[![Coverage Status](https://codecov.io/gh/qiniu/csharp-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/qiniu/csharp-sdk) + ## 使用 * 参考文档:[七牛云存储 C# SDK 使用指南](https://developer.qiniu.com/kodo/sdk/1237/csharp)