This commit is contained in:
Kay0u 2020-05-01 01:27:31 +02:00
parent 4dccab9819
commit 3b93ba4772
No known key found for this signature in database
GPG key ID: AE1DCADB6415A156

View file

@ -108,20 +108,22 @@ test-regenconf:
image: before-postinstall image: before-postinstall
stage: lint stage: lint
before_script: before_script:
- apt-get install python3-pip -y - apt-get install python-pip -y
- mkdir -p .pip3 - mkdir -p .pip
- pip3 install -U pip - pip install -U pip
- hash -d pip3 - hash -d pip
- pip3 --cache-dir=.pip3 install flake8 # black - pip --cache-dir=.pip install tox
cache: cache:
paths: paths:
- .pip3 - .pip
- .tox
key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
lint: lint:
extends: .lint-stage extends: .lint-stage
allow_failure: true
script: script:
- flake8 - tox -e lint
# Disabled, waiting for buster # Disabled, waiting for buster
#format-check: #format-check: