equal
deleted
inserted
replaced
29 variables: |
29 variables: |
30 DOCKER_DRIVER: overlay2 |
30 DOCKER_DRIVER: overlay2 |
31 services: |
31 services: |
32 - docker:dind |
32 - docker:dind |
33 script: |
33 script: |
|
34 - cat /etc/hosts |
34 - nslookup xgit98-000.dev-dsm.onf.fr |
35 - nslookup xgit98-000.dev-dsm.onf.fr |
35 - docker pull codeclimate/codeclimate |
36 - docker pull codeclimate/codeclimate |
36 - docker run |
37 - docker run |
37 --env CODECLIMATE_CODE="$PWD" |
38 --env CODECLIMATE_CODE="$PWD" |
38 --volume "$PWD":/code |
39 --volume "$PWD":/code |
39 --volume /var/run/docker.sock:/var/run/docker.sock |
|
40 --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json > codeclimate.json |
40 --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json > codeclimate.json |
41 artifacts: |
41 artifacts: |
42 paths: |
42 paths: |
43 - codeclimate.json |
43 - codeclimate.json |