Add CodeCov support and badge to README

This commit is contained in:
James Mills 2017-06-20 23:48:48 -07:00
parent e670ccffff
commit 58c03baeb4
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6
2 changed files with 8 additions and 0 deletions

View File

@ -1 +1,8 @@
language: go
sudo: false
go:
- tip
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@ -1,6 +1,7 @@
# Gopher protocol library for Golang
[![Build Status](https://travis-ci.org/prologic/go-gopher.svg)](https://travis-ci.org/prologic/go-gopher)
[![CodeCov](https://codecov.io/gh/prologic/go-gopher/branch/master/graph/badge.svg)](https://codecov.io/gh/prologic/go-gopher)
[![GoDoc](https://godoc.org/github.com/prologic/go-gopher?status.svg)](https://godoc.org/github.com/prologic/go-gopher)