# HG changeset patch # User Thierry Florac # Date 1560362009 -7200 # Node ID 89f5d730ed813190ead6767d409f7c18755c3dc4 # Parent 8207f02c9d423fe7f31375b894cd36a7c4f33b86 Replace code quality with pylint diff -r 8207f02c9d42 -r 89f5d730ed81 .gitlab-ci.yml --- a/.gitlab-ci.yml Wed Jun 12 18:35:52 2019 +0200 +++ b/.gitlab-ci.yml Wed Jun 12 19:53:29 2019 +0200 @@ -15,26 +15,7 @@ - ./bin/buildout - ./bin/test -quality: - stage: quality - image: docker:stable - variables: - DOCKER_DRIVER: overlay2 - DOCKER_HOST: tcp://docker:2375 - allow_failure: true - services: - - docker:stable-dind - before_script: - - grep "version =" setup.py +pylint: script: - - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') - - echo "Using SP version $SP_VERSION" - - docker run - --privileged - --env SOURCE_CODE="$PWD/src" - --volume "$PWD":/code - --volume /var/run/docker.sock:/var/run/docker.sock - "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code - artifacts: - reports: - codequality: gl-code-quality-report.json + - pip install pylint --quiet + - pylint src/