Commit 5f05ccd4 authored by Linedwell's avatar Linedwell

Update .gitlab-ci.yml

parent b7b496b9
Pipeline #26579446 failed with stages
in 37 seconds
......@@ -7,8 +7,12 @@ stages: # Defining main steps of the continous integration
pylint:
stage: check
image: linedwell/pylint:py2
before_script:
- pip install anybadge
script:
- ( pylint --output-format=colorized --disable C,R,import-error --reports=y ./*.py || pylint-exit $? ) | tee pylint.txt
- score=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' pylint.txt)
- anybadge --value=$score --file=public/pylint.svg pylint
linedbot:
stage: deploy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment