Skip to content

Commit

Permalink
Enable linitng in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
janisz committed Sep 8, 2016
1 parent b8d91d3 commit af110fc
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 @@ -9,8 +9,10 @@ before_install:
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
- go get github.com/alecthomas/gometalinter
script:
- make deps
- gometalinter ./... --deadline 120s --vendor -D dupl -D gotype -D errcheck -D gas -D golint -E gofmt
- go test -coverprofile=apps.coverprofile ./apps
- go test -coverprofile=config.coverprofile ./config
- go test -coverprofile=consul.coverprofile ./consul
Expand Down

0 comments on commit af110fc

Please sign in to comment.