Exclude Protos from Gometalinter in Travis (#1170)

* travis

* added config
This commit is contained in:
Raul Jordan 2018-12-23 23:35:34 -06:00 committed by Nishant Das
parent 5d26efcfaa
commit 50b364728c
2 changed files with 5 additions and 14 deletions

View File

@ -1,15 +1,6 @@
{
"Enable": [
"gofmt",
"deadcode",
"misspell",
"goimports",
"nakedret",
"unparam",
"megacheck",
"gosec",
"varcheck",
"structcheck",
"golint"
]
"Deadline": "10m",
"Exclude": [
"^proto/"
]
}

View File

@ -9,7 +9,7 @@ matrix:
- lint
script:
-
go get github.com/alecthomas/gometalinter && gometalinter --install && gometalinter ./... --deadline=10m --exclude=client/internal/client_helper.go
go get github.com/alecthomas/gometalinter && gometalinter --install && gometalinter ./...
- os: linux
env:
- coverage