Skip to content

Commit

Permalink
add golint to travisci
Browse files Browse the repository at this point in the history
  • Loading branch information
yukihir0 committed Jul 20, 2015
1 parent 0de8a8d commit d20cddd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ before_install:
- rm -rf cmd
- go get golang.org/x/tools/cmd/goimports
- go get golang.org/x/tools/cmd/vet
- go get github.com/golang/lint/golint
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
before_script:
- goimports -l ./ | xargs -r false
- go vet ./...
- golint ./... | xargs -r false
script:
- go test -v -covermode=count -coverprofile=coverage.out ./...
- goveralls -coverprofile=coverage.out -service travis-ci

0 comments on commit d20cddd

Please sign in to comment.