megacheck is not present in gometalinter v3.0.0

added staticheck option for gometalinter

Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
This commit is contained in:
Madhu Rajanna 2019-02-04 10:44:00 +05:30
parent 832e0bb591
commit 6263b9cdb5

View File

@ -16,7 +16,7 @@ before_script:
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/) - GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
script: script:
- gometalinter --deadline=10m -j 4 --enable=megacheck --enable=misspell --vendor ./... - gometalinter --deadline=10m -j 4 --enable=misspell --enable=staticcheck --vendor ./...
- test -z $(gofmt -s -l $GO_FILES) - test -z $(gofmt -s -l $GO_FILES)
- make rbdplugin - make rbdplugin
- make cephfsplugin - make cephfsplugin