add coveralls to .travis.yml

This commit is contained in:
Alex Flint 2015-11-04 09:12:41 -08:00
parent 5185642348
commit 6a22722d8c
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,9 @@
language: go
go:
- 1.4
- tip
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- $HOME/gopath/bin/goveralls -service=travis-ci