diff -r 0ef63dbfecd1 -r e7e36ec88a06 .gitlab-ci.yml --- a/.gitlab-ci.yml Sat Nov 23 00:33:56 2019 +0100 +++ b/.gitlab-ci.yml Sat Nov 23 01:01:07 2019 +0100 @@ -26,9 +26,6 @@ test: stage: test script: - - pwd - - ls -l - - head ./bin/test - ./bin/test dist: @@ -43,11 +40,10 @@ stage: quality allow_failure: true script: - - pip install pylint-exit anybadge - mkdir ./pylint - - ./bin/pylint src/pyams_utils/ | tee ./pylint/pylint.log || pylint-exit $? + - ./bin/pylint src/pyams_utils/ | tee ./pylint/pylint.log || ./bin/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 + - ./bin/anybadge --label=Pylint --file=./pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green - echo "Pylint score is $PYLINT_SCORE" artifacts: paths: