.travis.yml: Add coveralls

This commit is contained in:
Aaron Lindsay 2017-04-08 11:22:45 -04:00
parent 0673b9af85
commit 8e6c9f6632
1 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,15 @@
language: go
os:
- linux
go:
- 1.8.x
- master
script:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go install github.com/mattn/goveralls
- go test -v -covermode=count -coverprofile=coverage.out
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN