Make poetry/pip less verbose
This commit is contained in:
parent
bcd051e992
commit
017dd9a582
2 changed files with 4 additions and 4 deletions
|
|
@ -3,10 +3,10 @@ python-linting:
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
image: python:3.7.4-slim-stretch
|
image: python:3.7.4-slim-stretch
|
||||||
before_script:
|
before_script:
|
||||||
- pip install poetry
|
- pip install poetry --quiet
|
||||||
- poetry config cache-dir ~/.cache/poetry
|
- poetry config cache-dir ~/.cache/poetry
|
||||||
- poetry config virtualenvs.in-project true
|
- poetry config virtualenvs.in-project true
|
||||||
- poetry install --no-interaction
|
- poetry install --no-interaction --quiet
|
||||||
script:
|
script:
|
||||||
- poetry run isort src/ --check-only --recursive
|
- poetry run isort src/ --check-only --recursive
|
||||||
- poetry run black src/ --line-length 88 --check
|
- poetry run black src/ --line-length 88 --check
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,10 @@ python-tests:
|
||||||
- memcached:1.5.22
|
- memcached:1.5.22
|
||||||
image: python:3.7.4-slim-stretch
|
image: python:3.7.4-slim-stretch
|
||||||
before_script:
|
before_script:
|
||||||
- pip install poetry
|
- pip install poetry --quiet
|
||||||
- poetry config cache-dir .cache/poetry
|
- poetry config cache-dir .cache/poetry
|
||||||
- poetry config virtualenvs.in-project true
|
- poetry config virtualenvs.in-project true
|
||||||
- poetry install --no-interaction
|
- poetry install --no-interaction --quiet
|
||||||
script:
|
script:
|
||||||
- poetry run coverage run src/manage.py test newsreader
|
- poetry run coverage run src/manage.py test newsreader
|
||||||
- poetry run coverage report
|
- poetry run coverage report
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue