mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
Add megacheck for gometalinter
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
This commit is contained in:
parent
58997ecbd8
commit
c0182c5881
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user