mirror of
				https://github.com/beego/bee.git
				synced 2025-11-04 04:13:26 +00:00 
			
		
		
		
	Removed gosimple and unused has been deprecated
This commit is contained in:
		@@ -1,20 +1,17 @@
 | 
				
			|||||||
language: go
 | 
					language: go
 | 
				
			||||||
go:
 | 
					go:
 | 
				
			||||||
  - 1.11.9
 | 
					  - 1.11.9
 | 
				
			||||||
 | 
					  - 1.12.4
 | 
				
			||||||
install:
 | 
					install:
 | 
				
			||||||
  - export PATH=$PATH:$HOME/gopath/bin
 | 
					  - export PATH=$PATH:$HOME/gopath/bin
 | 
				
			||||||
  - go get -u github.com/opennota/check/cmd/structcheck
 | 
					  - 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/staticcheck
 | 
				
			||||||
  - go get -u honnef.co/go/tools/cmd/unused
 | 
					 | 
				
			||||||
  - go get -u github.com/mdempsky/unconvert
 | 
					  - go get -u github.com/mdempsky/unconvert
 | 
				
			||||||
  - go get -u github.com/gordonklaus/ineffassign
 | 
					  - go get -u github.com/gordonklaus/ineffassign
 | 
				
			||||||
script:
 | 
					script:
 | 
				
			||||||
  - find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s
 | 
					  - find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s
 | 
				
			||||||
  - go vet  $(go list ./... | grep -v /vendor/)
 | 
					  - go vet  $(go list ./... | grep -v /vendor/)
 | 
				
			||||||
  - structcheck  $(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/)
 | 
					  - staticcheck -ignore "$(cat staticcheck.ignore)" $(go list ./... | grep -v /vendor/)
 | 
				
			||||||
  - unused $(go list ./... | grep -v /vendor/)
 | 
					 | 
				
			||||||
  - unconvert $(go list ./... | grep -v /vendor/)
 | 
					  - unconvert $(go list ./... | grep -v /vendor/)
 | 
				
			||||||
  - ineffassign .
 | 
					  - ineffassign .
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user