niki/vendor/github.com/go-ozzo/ozzo-validation/.travis.yml

17 lines
425 B
YAML
Raw Permalink Normal View History

2024-02-18 10:42:21 +00:00
language: go
go:
- 1.8
- 1.9
- tip
install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go list -f '{{range .Imports}}{{.}} {{end}}' ./... | xargs go get -v
- go list -f '{{range .TestImports}}{{.}} {{end}}' ./... | xargs go get -v
script:
- go test -v -covermode=count -coverprofile=coverage.out
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci