Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (30 sloc) 1.09 KB
language: go
go:
- 1.9
- 1.11
- tip
before_install:
- go get github.com/kardianos/govendor
- go get golang.org/x/tools/cmd/goimports
- go get golang.org/x/lint/golint
- go get github.com/kisielk/errcheck
- go get github.com/mattn/goveralls
- go get github.com/opennota/check/cmd/structcheck
- go get github.com/opennota/check/cmd/varcheck
- go get github.com/jgautheron/goconst/cmd/goconst
- go get honnef.co/go/tools/cmd/gosimple
- go get honnef.co/go/tools/cmd/staticcheck
- go get github.com/onsi/ginkgo/ginkgo
- go get github.com/onsi/gomega
script:
- go test -race ./...
- "! goimports -d $(find . -type f -name '*.go' -not -path './vendor/*') 2>&1 | read"
- go vet $(govendor list -no-status +local)
- errcheck $(govendor list -no-status +local)
- structcheck $(govendor list -no-status +local)
- varcheck $(govendor list -no-status +local)
- staticcheck $(govendor list -no-status +local)
- gosimple $(govendor list -no-status +local)
- goconst -ignore vendor ./...
- rm -Rf vendor # golint won't work with package list
- golint -set_exit_status ./...
You can’t perform that action at this time.