Enable only some linters

This commit is contained in:
Enrico Stahn 2018-02-25 11:20:36 +11:00
parent 5ddcff2dc8
commit 38b9c07ab7
No known key found for this signature in database
GPG key ID: 5263621C269A50DE

View file

@ -23,7 +23,7 @@ jobs:
- run: curl -L -s https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 -o /go/bin/dep && chmod +x /go/bin/dep - run: curl -L -s https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 -o /go/bin/dep && chmod +x /go/bin/dep
- run: dep ensure -vendor-only - run: dep ensure -vendor-only
- run: curl -L -s https://github.com/alecthomas/gometalinter/releases/download/v2.0.5/gometalinter-2.0.5-linux-amd64.tar.gz | tar xvfz - -C /go/bin/ --strip 1 - run: curl -L -s https://github.com/alecthomas/gometalinter/releases/download/v2.0.5/gometalinter-2.0.5-linux-amd64.tar.gz | tar xvfz - -C /go/bin/ --strip 1
- run: gometalinter ./... - run: gometalinter --disable-all --enable=errcheck --enable=vet --enable=vetshadow ./...
deploy: deploy:
<<: *defaults <<: *defaults