2018-04-25 15:55:26 +01:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
|
|
|
- 1.10.x
|
|
|
|
|
|
|
|
before_install:
|
2018-05-08 23:02:01 +01:00
|
|
|
- source scripts/travis-deps.sh
|
|
|
|
|
|
|
|
install:
|
2018-04-25 15:55:26 +01:00
|
|
|
- make build-dev-deps
|
2018-04-25 16:22:20 +01:00
|
|
|
|
|
|
|
script:
|
2018-06-26 12:48:02 +01:00
|
|
|
- make test
|
|
|
|
- go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs -L 1 sh -c
|
|
|
|
- gover
|
|
|
|
- goveralls -coverprofile=gover.coverprofile -service=travis-ci
|