diff --git a/.travis.yml b/.travis.yml index 4f2ee4d..2915733 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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) diff --git a/README.md b/README.md index fd1f63d..eebced1 100644 --- a/README.md +++ b/README.md @@ -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)