Enable all linters except errcheck and lll
This commit is contained in:
parent
317e65f893
commit
356c681dfc
1 changed files with 1 additions and 2 deletions
|
@ -23,8 +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 --disable-all --enable=errcheck --enable=vet --enable=vetshadow --vendor ./...
|
- run: gometalinter --enable-all --disable=errcheck --disable=lll --deadline=2m --vendor ./...
|
||||||
- run: gometalinter --disable-all --enable=vet --enable=vetshadow --vendor ./...
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
|
Loading…
Reference in a new issue