Update to coveralls.io for test coverage reporting.

Also add a test coverage badge to the README.md.
This commit is contained in:
Dave Collins 2014-06-12 18:43:31 -05:00
parent acda2044a0
commit 41dce5796d
2 changed files with 10 additions and 1 deletions

View file

@ -4,3 +4,10 @@ go:
- tip - tip
install: install:
- go get -d -t -v ./... - go get -d -t -v ./...
- go get -v code.google.com/p/go.tools/cmd/cover
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

View file

@ -2,7 +2,9 @@ btcnet
====== ======
[![Build Status](https://travis-ci.org/conformal/btcnet.png?branch=master)] [![Build Status](https://travis-ci.org/conformal/btcnet.png?branch=master)]
(https://travis-ci.org/conformal/btcnet) (https://travis-ci.org/conformal/btcnet) [![Coverage Status]
(https://coveralls.io/repos/conformal/btcnet/badge.png?branch=master)]
(https://coveralls.io/r/conformal/btcnet?branch=master)
Package btcnet defines the network parameters for the three standard Bitcoin Package btcnet defines the network parameters for the three standard Bitcoin
networks and provides the ability for callers to define their own custom networks and provides the ability for callers to define their own custom