Add cyclomatic complexity test to Travis
This commit is contained in:
parent
f691d04432
commit
09ac91b9b2
@ -45,5 +45,5 @@ script:
|
|||||||
# - go test -v -race ./... # Run all the tests with the race detector enabled
|
# - go test -v -race ./... # Run all the tests with the race detector enabled
|
||||||
- go vet ./... # go vet is the official Go static analyzer
|
- go vet ./... # go vet is the official Go static analyzer
|
||||||
- megacheck ./... # "go vet on steroids" + linter
|
- megacheck ./... # "go vet on steroids" + linter
|
||||||
# - gocyclo -over 19 $GO_FILES # forbid code with huge functions
|
- gocyclo -over 19 $GO_FILES # forbid code with huge functions
|
||||||
- golint -set_exit_status $(go list ./...) # one last linter
|
- golint -set_exit_status $(go list ./...) # one last linter
|
Loading…
Reference in New Issue
Block a user