From 59b28e6a2555a5c07591715b47b30bea3d82ae32 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] test gcov5 --- .travis.yml | 9 ++++++++- Makefile | 3 ++- README.md | 5 +++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 641e6286..5771f2c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,9 @@ language: csharp install: - sudo apt-get install nunit + - npm install -g codecov + - sudo apt-get install OpenCover + before_script: @@ -10,4 +13,8 @@ before_script: script: - - make build-and-test \ No newline at end of file + - make build-and-test + - lcov --gcov-tool=gcov-7 ... + - codecov -f coverage.info -X gcov -x gcov-7 + + diff --git a/Makefile b/Makefile index 7f08c751..b271065f 100644 --- a/Makefile +++ b/Makefile @@ -7,4 +7,5 @@ build-and-test: xbuild src/Qiniu.sln - nunit-console bin/QiniuTests.dll + nunit-console bin/QiniuTests.dll + 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)