Update badges in README.md to SVG.

Also add a license badge while here.
This commit is contained in:
Dave Collins 2015-01-08 05:29:33 -06:00
parent bf3195e4ae
commit be91008dc5
2 changed files with 5 additions and 6 deletions

View file

@ -1,8 +1,9 @@
btcchain
========
[![Build Status](https://travis-ci.org/conformal/btcchain.png?branch=master)]
(https://travis-ci.org/conformal/btcchain)
[![Build Status](http://img.shields.io/travis/conformal/btcchain.svg)]
(https://travis-ci.org/conformal/btcchain) [![ISC License]
(http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
Package btcchain implements bitcoin block handling and chain selection rules.
The test coverage is currently only around 60%, but will be increasing over
@ -21,7 +22,7 @@ handle processing of blocks into the bitcoin block chain.
## Documentation
[![GoDoc](https://godoc.org/github.com/conformal/btcchain?status.png)]
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg]
(http://godoc.org/github.com/conformal/btcchain)
Full `go doc` style documentation for the project can be viewed online without

View file

@ -4,8 +4,7 @@
# 2. goimports (https://github.com/bradfitz/goimports)
# 3. golint (https://github.com/golang/lint)
# 4. go vet (http://golang.org/cmd/vet)
# 5. race detector (http://blog.golang.org/race-detector)
# 6. test coverage (http://blog.golang.org/cover)
# 5. test coverage (http://blog.golang.org/cover)
set -e
@ -14,7 +13,6 @@ test -z "$(gofmt -l -w . | tee /dev/stderr)"
test -z "$(goimports -l -w . | tee /dev/stderr)"
test -z "$(golint . | tee /dev/stderr)"
go vet ./...
go test -race ./...
# Run test coverage on each subdirectories and merge the coverage profile.