2017-04-08 11:11:01 -04:00
|
|
|
language: go
|
|
|
|
|
2017-04-08 11:22:45 -04:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
2017-04-08 11:11:01 -04:00
|
|
|
go:
|
2017-09-20 20:30:59 -04:00
|
|
|
- 1.9.x
|
2017-04-08 11:11:01 -04:00
|
|
|
- master
|
2017-04-08 11:22:45 -04:00
|
|
|
|
|
|
|
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
|
2017-11-18 05:25:02 -05:00
|
|
|
|
|
|
|
after_script:
|
2017-04-08 11:22:45 -04:00
|
|
|
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
|