Setup TravisCI to report cov stats to coveralls.io.

This commit is contained in:
Dave Collins 2014-08-10 14:02:54 -05:00
parent e6011eaa49
commit cdc91dd9ba

View file

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