Skip to content

Commit 90f77f1

Browse files
authored
Merge pull request #53 from gliptak/codecov1
Add codecov.io
2 parents d4cd2ca + 4f22433 commit 90f77f1

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ go:
99
- 1.7
1010
- tip
1111

12-
script: go test -race
12+
script: go test -race -coverprofile=coverage.txt -covermode=atomic
13+
14+
after_success:
15+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[![Build Status](https://travis-ci.org/DATA-DOG/go-sqlmock.png)](https://travis-ci.org/DATA-DOG/go-sqlmock)
22
[![GoDoc](https://godoc.org/github.com/DATA-DOG/go-sqlmock?status.png)](https://godoc.org/github.com/DATA-DOG/go-sqlmock)
3+
[![codecov.io](https://codecov.io/github/DATA-DOG/go-sqlmock/branch/master/graph/badge.svg)](https://codecov.io/github/DATA-DOG/go-sqlmock)
34

45
# Sql driver mock for Golang
56

0 commit comments

Comments
 (0)