Update badges in README.md to SVG.
Also add a license badge while here.
This commit is contained in:
parent
bf3195e4ae
commit
be91008dc5
2 changed files with 5 additions and 6 deletions
|
@ -1,8 +1,9 @@
|
||||||
btcchain
|
btcchain
|
||||||
========
|
========
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/conformal/btcchain.png?branch=master)]
|
[![Build Status](http://img.shields.io/travis/conformal/btcchain.svg)]
|
||||||
(https://travis-ci.org/conformal/btcchain)
|
(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.
|
Package btcchain implements bitcoin block handling and chain selection rules.
|
||||||
The test coverage is currently only around 60%, but will be increasing over
|
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
|
## 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)
|
(http://godoc.org/github.com/conformal/btcchain)
|
||||||
|
|
||||||
Full `go doc` style documentation for the project can be viewed online without
|
Full `go doc` style documentation for the project can be viewed online without
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
# 2. goimports (https://github.com/bradfitz/goimports)
|
# 2. goimports (https://github.com/bradfitz/goimports)
|
||||||
# 3. golint (https://github.com/golang/lint)
|
# 3. golint (https://github.com/golang/lint)
|
||||||
# 4. go vet (http://golang.org/cmd/vet)
|
# 4. go vet (http://golang.org/cmd/vet)
|
||||||
# 5. race detector (http://blog.golang.org/race-detector)
|
# 5. test coverage (http://blog.golang.org/cover)
|
||||||
# 6. test coverage (http://blog.golang.org/cover)
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -14,7 +13,6 @@ test -z "$(gofmt -l -w . | tee /dev/stderr)"
|
||||||
test -z "$(goimports -l -w . | tee /dev/stderr)"
|
test -z "$(goimports -l -w . | tee /dev/stderr)"
|
||||||
test -z "$(golint . | tee /dev/stderr)"
|
test -z "$(golint . | tee /dev/stderr)"
|
||||||
go vet ./...
|
go vet ./...
|
||||||
go test -race ./...
|
|
||||||
|
|
||||||
# Run test coverage on each subdirectories and merge the coverage profile.
|
# Run test coverage on each subdirectories and merge the coverage profile.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue