Commit 09ba86f2 authored by Linedwell's avatar Linedwell

Update .gitlab-ci.yml

parent 7dd4176d
Pipeline #26622568 passed with stages
in 1 minute and 29 seconds
......@@ -24,15 +24,15 @@ pylint_badge:
GIT_STRATEGY: none
before_script:
- pip install anybadge
- mkdir -p public/badges
- mkdir -p badges
script:
- score=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' pylint.txt)
- anybadge --value=$score --file=public/badges/pylint.svg pylint
- anybadge --value=$score --file=badges/pylint.svg pylint
dependencies:
- pylint
artifacts:
paths:
- public/badges/pylint.svg
- badges/pylint.svg
expire_in: 5 min
pages:
......@@ -48,6 +48,7 @@ pages:
artifacts:
paths:
- public/
expire_in: 5 min
only:
- master
......
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