Switched CI to non-tox matrix build
continuous-integration/drone the build failed Details

pull/27/head
Jef Roosens 2021-05-15 16:21:48 +02:00
parent 8734cdf180
commit 1a900056cf
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 17 additions and 33 deletions

View File

@ -1,47 +1,31 @@
matrix:
PYTHON_VERSION:
- 3.6
- 3.7
- 3.8
- 3.9
pipeline:
test-3.9:
test:
group: test
image: python:3.9-alpine
image: python:${PYTHON_VERSION}-alpine
pull: true
commands:
- pip install -e .[ci]
- tox -e py39
- pip install -e .[test]
- pytest --cov=app --cov-fail-under=90 tests/
test-3.8:
group: test
image: python:3.8-alpine
pull: true
commands:
- pip install -e .[ci]
- tox -e py38
test-3.7:
group: test
image: python:3.7-alpine
pull: true
commands:
- pip install -e .[ci]
- tox -e py37
test-3.7-pypy:
test-pypy:
group: test
image: pypy:3-7-slim
pull: true
commands:
- pip install -e .[ci]
- tox -e pypy37
test-3.6:
group: test
image: python:3.6-alpine
pull: true
commands:
- pip install -e .[ci]
- tox -e py36
- pip install -e .[test]
- pytest --cov=app --cov-fail-under=90 tests/
lint:
image: python:3.6-alpine
commands:
- apk update && apk add --no-cache build-base
- pip install -e .[ci]
- tox -e lint
- pip install -e .[lint]
- black --check setup.py app
- flake8 setup.py app