[Git][NTPsec/ntpsec][master] Enable Code Climate

Matt Selsky gitlab at mg.gitlab.com
Sun Nov 26 17:28:39 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
34ade28e by Matt Selsky at 2017-11-26T12:13:04-05:00
Enable Code Climate

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,21 @@ pages:
   tags:
     - gitlab-org
 
+codequality:
+  stage: test
+  image: docker:latest
+  variables:
+    DOCKER_DRIVER: overlay
+  services:
+    - docker:dind
+  script:
+    - docker pull codeclimate/codeclimate
+    - docker run --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json > codeclimate.json
+  artifacts:
+    paths: [codeclimate.json]
+  tags:
+    - docker
+
 .job_template: &job_definition
   stage: build
   artifacts:



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/34ade28e03e751334670b8763eba05e11c67ba29

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/34ade28e03e751334670b8763eba05e11c67ba29
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20171126/370bc3c7/attachment.html>


More information about the vc mailing list