.gitlab-ci.yml
changeset 369 d4f04a4bfeeb
parent 368 4f86173ae2cf
child 370 b8836e9c5f3e
equal deleted inserted replaced
368:4f86173ae2cf 369:d4f04a4bfeeb
    34         - docker pull codeclimate/codeclimate
    34         - docker pull codeclimate/codeclimate
    35         - docker run
    35         - docker run
    36             --env CODECLIMATE_CODE="$PWD"
    36             --env CODECLIMATE_CODE="$PWD"
    37             --volume "$PWD":/code
    37             --volume "$PWD":/code
    38             --volume /var/run/docker.sock:/var/run/docker.sock
    38             --volume /var/run/docker.sock:/var/run/docker.sock
    39             --volume /tmp/cc:/tmp/cc codeclimate/codeclimate init
    39             --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json src/pyams_utils > codeclimate.json
    40         - docker run
       
    41             --env CODECLIMATE_CODE="$PWD"
       
    42             --volume "$PWD":/code
       
    43             --volume /var/run/docker.sock:/var/run/docker.sock
       
    44             --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json > codeclimate.json
       
    45     artifacts:
    40     artifacts:
    46         paths: [codeclimate.json]
    41         paths: [codeclimate.json]