aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07b992b..002a2e7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,17 @@ stages:
- package
- publish
+codeclimate:
+ image: $CI_REGISTRY/docker-images/layers:stretch-codeclimate
+ stage: test
+ tags:
+ - docker-socket
+ script:
+ - codeclimate analyze -f json > codeclimate.json
+ artifacts:
+ paths: [codeclimate.json]
+
+
.test: &test
image: $CI_REGISTRY/docker-images/layers:$DISTRO-ruby
stage: test