--- a/.gitlab-ci.yml Fri Jun 28 14:16:10 2019 +0200
+++ b/.gitlab-ci.yml Fri Jun 28 15:40:27 2019 +0200
@@ -36,12 +36,8 @@
- docker pull codeclimate/codeclimate
- VOLUME_PATH=/tmp/builds"$(echo $PWD | sed 's|^/[^/]*||')"
- docker run -v /tmp/cc:/tmp/cc -v $VOLUME_PATH:/code -v /var/run/docker.sock:/var/run/docker.sock codeclimate/codeclimate validate-config
- - ls -lash $PWD
- echo $PWD
- docker run --env CODECLIMATE_CODE="$VOLUME_PATH" -v /tmp/cc:/tmp/cc -v $VOLUME_PATH:/code -v /var/run/docker.sock:/var/run/docker.sock codeclimate/codeclimate analyze -f json >codeclimate.json
- - ls -lash $PWD >echo.txt
artifacts:
- paths:
- - echo.txt
reports:
codequality: codeclimate.json