diff --git a/.travis.yml b/.travis.yml index 551a2ea..32a2f34 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ install: script: - go vet $(go list ./... | grep -v /vendor/) - structcheck $(go list ./... | grep -v /vendor/) - - gosimple -ignore "github.com/beego/bee/cmd/commands/run/*.go:S1024" $(go list ./... | grep -v /vendor/) + - gosimple -ignore "$(cat gosimple.ignore)" $(go list ./... | grep -v /vendor/) - staticcheck $(go list ./... | grep -v /vendor/) - unused $(go list ./... | grep -v /vendor/) - unconvert $(go list ./... | grep -v /vendor/) diff --git a/gosimple.ignore b/gosimple.ignore new file mode 100644 index 0000000..68e88ac --- /dev/null +++ b/gosimple.ignore @@ -0,0 +1,2 @@ +github.com/beego/bee/cmd/commands/run/*.go:S1024 +github.com/beego/bee/cmd/commands/dlv/*.go:S1024