We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c571c7 commit f162af1Copy full SHA for f162af1
.travis.yml
@@ -17,12 +17,16 @@ before_script:
17
- cd vendor/honnef.co/go/tools/cmd/megacheck
18
- go install
19
- cd -
20
+ - cd vendor/github.com/fzipp/gocyclo
21
+ - go install
22
+ - cd -
23
24
script:
25
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
- - test -z $(gofmt -s -l $GO_FILES)
26
+ - test -z $(gofmt -s -l ${GO_FILES})
27
- go test -v -race ./...
28
- go vet ./...
29
- megacheck ./...
30
# golint ./... doesn't ignore vendor/ for some dumb reason
31
- golint -set_exit_status $(go list ./... | grep -v /vendor/)
32
+ - gocyclo -over 10 ${GO_FILES}
0 commit comments