Skip to content

Commit

Permalink
Adding golint to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
marstr committed Oct 3, 2017
1 parent 99bf06d commit 5d2897a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ go:
- 1.8
- 1.9

install:
- go get -u github.com/golang/lint/golint

script:
- go test -v -cover
- test -z "$(golint | tee /dev/stderr)"
- test -z "$(go vet | tee /dev/stderr | grep error)"
- test -z "$(gofmt -l *.go | tee /dev/stderr)"

0 comments on commit 5d2897a

Please sign in to comment.