From dae175e2acc5b7838a17089050953f015c8049cc Mon Sep 17 00:00:00 2001 From: qiantao Date: Wed, 3 Jun 2020 09:24:13 +0800 Subject: [PATCH] remove Outdated tools --- .travis.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0480311..5decb35 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,17 +4,13 @@ go: install: - export PATH=$PATH:$HOME/gopath/bin - go get -u github.com/opennota/check/cmd/structcheck - - go get -u honnef.co/go/tools/cmd/gosimple - go get -u honnef.co/go/tools/cmd/staticcheck - - go get -u honnef.co/go/tools/cmd/unused - go get -u github.com/mdempsky/unconvert - go get -u github.com/gordonklaus/ineffassign script: - find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s - go vet $(go list ./... | grep -v /vendor/) - structcheck $(go list ./... | grep -v /vendor/) - - gosimple -ignore "$(cat gosimple.ignore)" $(go list ./... | grep -v /vendor/) - staticcheck -ignore "$(cat staticcheck.ignore)" $(go list ./... | grep -v /vendor/) - - unused $(go list ./... | grep -v /vendor/) - unconvert $(go list ./... | grep -v /vendor/) - ineffassign .