Skip to content

Commit

Permalink
feat: remove all outdated tools
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha.wong committed Jan 21, 2020
1 parent dedca40 commit 8001129
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
17 changes: 4 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
language: go
go:
- 1.12.x
- "1.12.x"
install:
- export PATH=$PATH:$HOME/gopath/bin
- go get -u github.com/opennota/check/cmd/structcheck
- go get -u honnef.co/go/tools/cmd/...
- go get -u github.com/mdempsky/unconvert
- go get -u github.com/gordonklaus/ineffassign
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.1

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 .
- cd $GOPATH/src/github.com/beego/bee && golangci-lint run -D errcheck
3 changes: 0 additions & 3 deletions gosimple.ignore

This file was deleted.

0 comments on commit 8001129

Please sign in to comment.