Skip to content

Commit 6314f3c

Browse files
committed
Update test coverage service
1 parent acecf87 commit 6314f3c

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,21 @@ go:
55
- "1.x"
66
- "1.13"
77
- "1.16.x"
8+
- tip
89
- master
910

11+
before_install:
12+
- go get -t -v ./...
13+
1014
install:
1115
- go get -v github.com/stretchr/testify
1216

17+
script:
18+
- go test -race -coverprofile=coverage.txt -covermode=atomic
19+
20+
after_success:
21+
- bash <(curl -s https://codecov.io/bash)
22+
1323
matrix:
1424
fast_finish: true
1525
include:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![tag](https://img.shields.io/github/tag/TeaEntityLab/fpGo.svg)](https://github.com/TeaEntityLab/fpGo)
44
[![Go Report Card](https://goreportcard.com/badge/github.com/TeaEntityLab/fpGo)](https://goreportcard.com/report/github.com/TeaEntityLab/fpGo)
5-
[![cover.run](https://cover.run/go/github.com/TeaEntityLab/fpGo.svg?style=flat&tag=golang-1.10)](https://cover.run/go?tag=golang-1.10&repo=github.com%2FTeaEntityLab%2FfpGo)
5+
[![codecov](https://codecov.io/gh/TeaEntityLab/fpGo/branch/master/graph/badge.svg)](https://codecov.io/gh/TeaEntityLab/fpGo)
66
[![Travis CI Build Status](https://api.travis-ci.org/TeaEntityLab/fpGo.svg?branch=master)](https://travis-ci.org/TeaEntityLab/fpGo)
77
[![GoDoc](https://godoc.org/github.com/TeaEntityLab/fpGo?status.svg)](https://godoc.org/github.com/TeaEntityLab/fpGo)
88

0 commit comments

Comments
 (0)