Skip to content

Commit e140bb4

Browse files
钟楚君钟楚君
钟楚君
authored and
钟楚君
committed
test gcov3
1 parent 55e6109 commit e140bb4

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.travis.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@ language: csharp
33
install:
44

55
- sudo apt-get install nunit
6+
- npm install -g codecov
7+
- sudo apt-get install lcov
68

79
before_script:
810

911
- export isTravisTest=true
1012

1113
script:
1214

13-
- make build-and-test
15+
- make build-and-test
16+
- lcov --gcov-tool=gcov-7 ...`
17+
- ./codecov -f coverage.info -X gcov -x gcov-7
18+
19+

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ build-and-test:
77

88
xbuild src/Qiniu.sln
99

10-
nunit-console bin/QiniuTests.dll
10+
nunit-console bin/QiniuTests.dll
11+

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Qiniu (Cloud) C# SDK
22

3+
[![LICENSE](https://img.shields.io/github/license/qiniu/csharp-sdk.svg)](https://github.com/qiniu/csharp-sdk/blob/master/LICENSE)
4+
[![Build Status](https://travis-ci.org/qiniu/csharp-sdk.svg?branch=master)](https://travis-ci.org/qiniu/csharp-sdk)
5+
[![GitHub release](https://img.shields.io/github/v/tag/qiniu/csharp-sdk.svg?label=release)](https://github.com/qiniu/csharp-sdk/releases)
6+
[![Coverage Status](https://codecov.io/gh/qiniu/csharp-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/qiniu/csharp-sdk)
7+
38
## 使用
49

510
* 参考文档:[七牛云存储 C# SDK 使用指南](https://developer.qiniu.com/kodo/sdk/1237/csharp)

0 commit comments

Comments
 (0)