Setup TravisCI to report cov stats to coveralls.io.

This commit is contained in:
Dave Collins 2014-03-27 04:58:48 -05:00
parent 110c37a4d1
commit 8ae4f2591e
1 changed files with 9 additions and 0 deletions

View File

@ -1,2 +1,11 @@
language: go
go: 1.2
install:
- go get -v code.google.com/p/go.tools/cmd/cover
script:
- go test -v ./spew -covermode=count -coverprofile=profile.cov
after_success:
- go get -v github.com/mattn/goveralls
- export PATH=$PATH:$HOME/gopath/bin
- cd ./spew
- goveralls -v -service travis-ci