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

18 lines
371 B
YAML
Raw Normal View History

2024-02-18 10:42:21 +00:00
dist: bionic
language: go
go:
- 1.13.x
install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go get golang.org/x/lint/golint
script:
- test -z "`gofmt -l -d .`"
- test -z "`golint ./...`"
- go test -v -covermode=count -coverprofile=coverage.out
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci