Fakultas Ilmu Komputer UI

Commit 39a9a0e3 authored by Farhan Azyumardhi Azmi's avatar Farhan Azyumardhi Azmi
Browse files

[CHORES] Use custom Docker image to pylint job

parent d8cbe861
Pipeline #59358 failed with stages
in 19 minutes and 58 seconds
...@@ -4,10 +4,8 @@ stages: ...@@ -4,10 +4,8 @@ stages:
- deploy - deploy
pylint: pylint:
image: python:3.7 image: farhanazmi/digipus
stage: test stage: test
before_script:
- pip install -r requirements.txt
script: script:
- mkdir ./pylint - mkdir ./pylint
- git ls-files | grep -v 'migrations' | grep -v 'settings.py' | grep -v 'manage.py' | grep -E '.py$' | xargs pylint -E --load-plugins=pylint_django --output-format=text --score=yes | tee ./pylint/pylint.log || pylint-exit $? - git ls-files | grep -v 'migrations' | grep -v 'settings.py' | grep -v 'manage.py' | grep -E '.py$' | xargs pylint -E --load-plugins=pylint_django --output-format=text --score=yes | tee ./pylint/pylint.log || pylint-exit $?
......
Supports Markdown
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