2016-01-25 13:49:49 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2016-12-27 12:44:17 +00:00
|
|
|
- 1.6.3
|
|
|
|
- 1.7.3
|
2017-03-10 09:49:31 +00:00
|
|
|
- 1.8
|
2017-03-11 09:03:45 +00:00
|
|
|
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
|
|
|
|
script:
|
|
|
|
- go vet $(go list ./... | grep -v /vendor/)
|
|
|
|
- structcheck $(go list ./... | grep -v /vendor/)
|
|
|
|
- gosimple $(go list ./... | grep -v /vendor/)
|
|
|
|
- staticcheck $(go list ./... | grep -v /vendor/)
|
|
|
|
- unused $(go list ./... | grep -v /vendor/)
|
|
|
|
- unconvert $(go list ./... | grep -v /vendor/)
|