Update Circle and Makefile to run tests/linting on CI

This commit is contained in:
Adrian Brink 2017-12-20 10:33:24 +01:00
parent 57a83fe73e
commit c268c4e767
No known key found for this signature in database
GPG Key ID: 9168AC350E33CEF2
2 changed files with 11 additions and 11 deletions

View File

@ -74,7 +74,7 @@ metalinter_all:
protoc $(INCLUDE) --lint_out=. types/*.proto protoc $(INCLUDE) --lint_out=. types/*.proto
gometalinter.v2 --vendor --deadline=600s --enable-all --disable=lll ./... gometalinter.v2 --vendor --deadline=600s --enable-all --disable=lll ./...
metalinter: metalinter_test:
@ echo "==> Running linter" @ echo "==> Running linter"
gometalinter.v2 --vendor --deadline=600s --disable-all \ gometalinter.v2 --vendor --deadline=600s --disable-all \
--enable=maligned \ --enable=maligned \

View File

@ -15,7 +15,7 @@ checkout:
test: test:
override: override:
- cd $REPO && make get_vendor_deps && make metalinter_test && make test_integrations - cd $REPO && make get_vendor_deps && make metalinter && make test_integrations
post: post:
- cd "$REPO" && bash <(curl -s https://codecov.io/bash) -f coverage.txt - cd "$REPO" && bash <(curl -s https://codecov.io/bash) -f coverage.txt
- cd "$REPO" && mv coverage.txt "${CIRCLE_ARTIFACTS}" - cd "$REPO" && mv coverage.txt "${CIRCLE_ARTIFACTS}"