Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
travis: Run golint on all builds
Browse files Browse the repository at this point in the history
Golint has been disabled on tip for a while for historical reasons.
Re-enabling.

Signed-off-by: Mark Ryan <[email protected]>
  • Loading branch information
Mark Ryan committed Dec 2, 2016
1 parent 77db3c2 commit 7ff017a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ script:
- go get github.com/google/gofuzz github.com/stretchr/testify
- go get github.com/golang/lint/golint github.com/client9/misspell/cmd/misspell
- go list ./... | grep -v github.com/01org/ciao/vendor | xargs -t go vet
# - go list ./... | grep -v github.com/01org/ciao/vendor | xargs -tL 1 golint -set_exit_status
- if [[ "$TRAVIS_GO_VERSION" != "tip" ]] ; then go list ./... | grep -v github.com/01org/ciao/vendor | xargs -tL 1 golint -set_exit_status ; fi
- go list ./... | grep -v github.com/01org/ciao/vendor | xargs -tL 1 golint -set_exit_status
- go list ./... | grep -v github.com/01org/ciao/vendor | xargs go list -f '{{.Dir}}/*.go' | xargs -I % bash -c "misspell -error %"
- go list ./... | grep -v github.com/01org/ciao/vendor | xargs go list -f '{{.Dir}}' | xargs gocyclo -over 15
- go list ./... | grep -v github.com/01org/ciao/vendor | xargs go list -f '{{.Dir}}' | xargs -L 1 ineffassign
Expand Down

0 comments on commit 7ff017a

Please sign in to comment.