Move metalinter installation to lint step

This commit is contained in:
Christopher Goes 2018-06-13 20:02:08 +02:00
parent 1b7396d487
commit ec5fd99fc4
No known key found for this signature in database
GPG Key ID: E828D98232D328D3
1 changed files with 6 additions and 6 deletions

View File

@ -27,12 +27,6 @@ jobs:
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run:
name: linter
command: |
export PATH="$GOBIN:$PATH"
go get -u github.com/tendermint/lint/golint
go get -u github.com/alecthomas/gometalinter
- run:
name: binaries
command: |
@ -63,6 +57,12 @@ jobs:
key: v1-pkg-cache
- restore_cache:
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Get metalinter
command: |
export PATH="$GOBIN:$PATH"
go get -u github.com/tendermint/lint/golint
go get -u github.com/alecthomas/gometalinter
- run:
name: Lint source
command: |