Switched CI to non-tox matrix build
continuous-integration/drone the build failed
Details
continuous-integration/drone the build failed
Details
parent
8734cdf180
commit
1a900056cf
|
@ -1,47 +1,31 @@
|
||||||
|
matrix:
|
||||||
|
PYTHON_VERSION:
|
||||||
|
- 3.6
|
||||||
|
- 3.7
|
||||||
|
- 3.8
|
||||||
|
- 3.9
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
test-3.9:
|
test:
|
||||||
group: test
|
group: test
|
||||||
image: python:3.9-alpine
|
image: python:${PYTHON_VERSION}-alpine
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- pip install -e .[ci]
|
- pip install -e .[test]
|
||||||
- tox -e py39
|
- pytest --cov=app --cov-fail-under=90 tests/
|
||||||
|
|
||||||
test-3.8:
|
test-pypy:
|
||||||
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:
|
|
||||||
group: test
|
group: test
|
||||||
image: pypy:3-7-slim
|
image: pypy:3-7-slim
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- pip install -e .[ci]
|
- pip install -e .[test]
|
||||||
- tox -e pypy37
|
- pytest --cov=app --cov-fail-under=90 tests/
|
||||||
|
|
||||||
test-3.6:
|
|
||||||
group: test
|
|
||||||
image: python:3.6-alpine
|
|
||||||
pull: true
|
|
||||||
commands:
|
|
||||||
- pip install -e .[ci]
|
|
||||||
- tox -e py36
|
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
image: python:3.6-alpine
|
image: python:3.6-alpine
|
||||||
commands:
|
commands:
|
||||||
- apk update && apk add --no-cache build-base
|
- apk update && apk add --no-cache build-base
|
||||||
- pip install -e .[ci]
|
- pip install -e .[lint]
|
||||||
- tox -e lint
|
- black --check setup.py app
|
||||||
|
- flake8 setup.py app
|
||||||
|
|
Loading…
Reference in New Issue