.gitlab-ci.yml
changeset 385 d8f00ddb9e28
parent 384 a4884c96f5af
child 386 15801a3108dc
equal deleted inserted replaced
384:a4884c96f5af 385:d8f00ddb9e28
    37         - VOLUME_PATH=/tmp/builds"$(echo $PWD | sed 's|^/[^/]*||')"
    37         - VOLUME_PATH=/tmp/builds"$(echo $PWD | sed 's|^/[^/]*||')"
    38         - docker run -v /tmp/cc:/tmp/cc -v $VOLUME_PATH:/code -v /var/run/docker.sock:/var/run/docker.sock codeclimate/codeclimate validate-config
    38         - docker run -v /tmp/cc:/tmp/cc -v $VOLUME_PATH:/code -v /var/run/docker.sock:/var/run/docker.sock codeclimate/codeclimate validate-config
    39         - ls -lash $PWD
    39         - ls -lash $PWD
    40         - echo $PWD
    40         - echo $PWD
    41         - 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
    41         - 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
    42         - ls -lash $PWD
    42         - ls -lash $PWD >echo.txt
    43     artifacts:
    43     artifacts:
       
    44         paths:
       
    45             - echo.txt
    44         reports:
    46         reports:
    45             codequality: codeclimate.json
    47             codequality: codeclimate.json