mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
use python3 for linter
This commit is contained in:
parent
d6095a3c0f
commit
18580803e6
1 changed files with 6 additions and 7 deletions
|
@ -108,15 +108,14 @@ test-regenconf:
|
||||||
image: before-postinstall
|
image: before-postinstall
|
||||||
stage: lint
|
stage: lint
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get install python-pip -y
|
- apt-get install python3-pip -y
|
||||||
- mkdir -p .pip
|
- mkdir -p .pip3
|
||||||
- pip install -U pip
|
- pip3 install -U pip
|
||||||
- hash -d pip
|
- hash -d pip3
|
||||||
- pip --cache-dir=.pip install flake8 blake
|
- pip3 --cache-dir=.pip3 install flake8 black
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .pip
|
- .pip3
|
||||||
- src/yunohost/tests/apps
|
|
||||||
key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
|
key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
|
|
Loading…
Add table
Reference in a new issue