Skip to content

Commit

Permalink
Run go-metalinter on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmachado committed Aug 5, 2018
1 parent edde814 commit 2ce9d42
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
trap "go-junit-report <${TEST_RESULTS}/go-test.out > ${TEST_RESULTS}/go-test-report.xml" EXIT
go test -cover -race -coverprofile=${TEST_RESULTS}/coverage.out -v ./... | tee ${TEST_RESULTS}/go-test.out
- run: goveralls -coverprofile=${TEST_RESULTS}/coverage.out -service=circle-ci -repotoken="${COVERALLS_TOKEN}"
- run:
command: |
go get -u gopkg.in/alecthomas/gometalinter.v2
gometalinter.v2 --install
gometalinter.v2 --vendor ./...
- store_artifacts:
path: /tmp/test-results
destination: raw-test-output
Expand Down

0 comments on commit 2ce9d42

Please sign in to comment.