-
Notifications
You must be signed in to change notification settings - Fork 923
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
alpha.wong
committed
Jan 21, 2020
1 parent
dedca40
commit 8001129
Showing
2 changed files
with
4 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.