# HG changeset patch # User Thierry Florac # Date 1574686512 -3600 # Node ID 21dbcce467f3b3d62fee7003f5bfb59466b5e09f # Parent bf9aae7feb5e65be468fd6dcd15e8b08ad7f7531 Updated Gitlab-CI configuration diff -r bf9aae7feb5e -r 21dbcce467f3 .gitlab-ci.yml --- a/.gitlab-ci.yml Mon Nov 25 13:49:58 2019 +0100 +++ b/.gitlab-ci.yml Mon Nov 25 13:55:12 2019 +0100 @@ -42,7 +42,7 @@ script: - pip install pylint-exit anybadge - mkdir ./pylint - - ./bin/pylint src/pyams_utils/ | tee ./pylint/pylint.log || pylint-exit $? + - ./bin/pylint src/pyams_apm/ | tee ./pylint/pylint.log || pylint-exit $? - PYLINT_SCORE=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' ./pylint/pylint.log) - anybadge --label=Pylint --file=./pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green - echo "Pylint score is $PYLINT_SCORE"