Switching to CircleCI

pull/187/head
Emir Pasic 2 years ago
parent bf2ab81353
commit 7168f7acb7

@ -20,6 +20,16 @@ jobs:
command: |
mkdir -p /tmp/test-reports
gotestsum --junitfile /tmp/test-reports/unit-tests.xml
- run:
name: Lint
command: |
go get github.com/golang/lint/golint
golint -set_exit_status <<parameters.paths>>
- run:
name: Calculate cyclomatic complexity
command: |
go get github.com/fzipp/gocyclo
gocyclo -avg -over 15 .
- store_test_results:
path: /tmp/test-reports

Loading…
Cancel
Save