Setup TravisCI to report cov stats to coveralls.io.
Also add a coveralls.io test coverage badge to the README.
This commit is contained in:
parent
9130de2de2
commit
6b82da13b4
2 changed files with 8 additions and 1 deletions
|
@ -3,3 +3,8 @@ go:
|
|||
- release
|
||||
- tip
|
||||
install: go get -d -t -v ./...
|
||||
script: go test -v -covermode=count -coverprofile=profile.cov
|
||||
after_success:
|
||||
- go get -v github.com/mattn/goveralls
|
||||
- export PATH=$PATH:$HOME/gopath/bin
|
||||
- goveralls -coverprofile=profile.cov -service=travis-ci
|
||||
|
|
|
@ -2,7 +2,9 @@ btcwire
|
|||
=======
|
||||
|
||||
[![Build Status](https://travis-ci.org/conformal/btcwire.png?branch=master)]
|
||||
(https://travis-ci.org/conformal/btcwire)
|
||||
(https://travis-ci.org/conformal/btcwire) [![Coverage Status]
|
||||
(https://coveralls.io/repos/conformal/btcwire/badge.png?branch=master)]
|
||||
(https://coveralls.io/r/conformal/btcwire?branch=master)
|
||||
|
||||
Package btcwire implements the bitcoin wire protocol. A comprehensive suite of
|
||||
tests with 100% test coverage is provided to ensure proper functionality. See
|
||||
|
|
Loading…
Reference in a new issue