diff --git a/.travis.yml b/.travis.yml index 2cd23c40..7759ad70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,3 +4,10 @@ go: - tip install: - 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 diff --git a/README.md b/README.md index 985c2d9c..1c27f27f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ btcnet ====== [![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 networks and provides the ability for callers to define their own custom