Setup TravisCI to report cov stats to coveralls.io.
This commit is contained in:
parent
e6011eaa49
commit
cdc91dd9ba
1 changed files with 9 additions and 1 deletions
10
.travis.yml
10
.travis.yml
|
@ -1,3 +1,11 @@
|
|||
language: go
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue