.gitlab-ci.yml
changeset 369 d4f04a4bfeeb
parent 368 4f86173ae2cf
child 370 b8836e9c5f3e
--- a/.gitlab-ci.yml	Fri Jun 14 12:41:29 2019 +0200
+++ b/.gitlab-ci.yml	Fri Jun 14 13:00:53 2019 +0200
@@ -36,11 +36,6 @@
             --env CODECLIMATE_CODE="$PWD"
             --volume "$PWD":/code
             --volume /var/run/docker.sock:/var/run/docker.sock
-            --volume /tmp/cc:/tmp/cc codeclimate/codeclimate init
-        - 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
+            --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json src/pyams_utils > codeclimate.json
     artifacts:
         paths: [codeclimate.json]