Add megacheck for gometalinter

Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
This commit is contained in:
Madhu Rajanna 2019-01-28 17:45:35 +05:30
parent 58997ecbd8
commit c0182c5881

View File

@ -17,7 +17,7 @@ before_script:
- go get -u golang.org/x/lint/golint #go get github.com/golang/lint/golint - go get -u golang.org/x/lint/golint #go get github.com/golang/lint/golint
script: script:
- gometalinter --deadline=10m -j 4 --disable=gocyclo --enable=gosimple --enable=misspell --enable=unused --enable=unparam --enable=staticcheck --vendor ./... - gometalinter --deadline=10m -j 4 --disable=gocyclo --enable=megacheck --enable=misspell --enable=unparam --vendor ./...
- test -z $(gofmt -s -l $GO_FILES) - test -z $(gofmt -s -l $GO_FILES)
- make rbdplugin - make rbdplugin
- make cephfsplugin - make cephfsplugin