diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c063610b59924fea4e000ff3d463ae944713dfd..2e4f4326efb67bf8ec2ff385f4c7f1189c02c367 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ stages: - test -job_tests: +Unit tests: stage: test tags: - golang @@ -9,9 +9,14 @@ job_tests: - strong # Disable this build on small runners services: - "lesterpig/mongo:latest" # Use this light version of mongo - script: "go test -cover -v ./..." + #artifacts: # Waiting GitLab 8.2.1... + # paths: + # - "coverage.html" + script: + - "go test -coverprofile c.out -v ./..." + - "go tool cover -html=c.out -o coverage.html" -job_lint: +Code lint: stage: test allow_failure: True tags: