add coverage to travis
This commit is contained in:
parent
730de81b9f
commit
8acdb3c74f
1 changed files with 7 additions and 1 deletions
|
@ -6,7 +6,13 @@ go:
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
script: go test -v ./...
|
install:
|
||||||
|
- go get github.com/axw/gocov/gocov
|
||||||
|
- go get github.com/mattn/goveralls
|
||||||
|
- go get -t ./...
|
||||||
|
|
||||||
|
script:
|
||||||
|
- $HOME/gopath/bin/goveralls -service=travis-ci ./...
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
|
|
Loading…
Reference in a new issue