Commit 7dd4176d authored by Linedwell's avatar Linedwell

Update .gitlab-ci.yml

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