mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Enable varcheck and fix found issues Add ineffassign to list of checks and fix found issues Added nakedret and fixed found issues Add interfacer check and fix found issue Add lll and fix found issues Add deadcode linter, remove unused code
30 lines
703 B
YAML
30 lines
703 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.10.x
|
|
|
|
# go_import_path: k8s.io/kubectl
|
|
|
|
before_install:
|
|
- source ./bin/consider-early-travis-exit.sh
|
|
- sudo apt-get install tree
|
|
- go get -u github.com/golang/lint/golint
|
|
- go get -u golang.org/x/tools/cmd/goimports
|
|
- go get -u github.com/onsi/ginkgo/ginkgo
|
|
- go get -u github.com/monopole/mdrip
|
|
- go get -u github.com/fzipp/gocyclo
|
|
- go get -u gopkg.in/alecthomas/gometalinter.v2 && gometalinter.v2 --install
|
|
|
|
# Install must be set to prevent default `go get` to run.
|
|
# The dependencies have already been vendored by `dep` so
|
|
# we don't need to fetch them.
|
|
install:
|
|
-
|
|
|
|
script:
|
|
- ./bin/pre-commit.sh
|
|
|
|
# TBD. Suppressing for now.
|
|
notifications:
|
|
email: false
|