Commit 5aa8f643 authored by Linedwell's avatar Linedwell

update

parent d5854105
Pipeline #29707423 passed with stages
in 1 minute and 8 seconds
......@@ -19,13 +19,11 @@ pylint:
pylint_badge:
stage: staging
image: python:2-alpine
image: linedwell/anybadge
variables:
GIT_STRATEGY: none
before_script:
- pip install anybadge
- mkdir -p badges
script:
- mkdir -p badges
- score=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' pylint.txt)
- anybadge --value=$score --file=badges/pylint.svg pylint
dependencies:
......@@ -71,4 +69,4 @@ linedbot:
git fetch &&
git checkout $CI_COMMIT_SHA"
when: manual
...
\ No newline at end of file
...
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