Hopefully fixed ci error
continuous-integration/drone the build failed Details

pull/15/head
Jef Roosens 2021-04-24 22:56:27 +02:00
parent 3e7a2edf13
commit 7fbec4992e
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
3 changed files with 7 additions and 6 deletions

View File

@ -35,5 +35,6 @@ pipeline:
lint:
image: python:3.6-alpine
commands:
- apk update && apk add --no-cache build-base
- pip install -e .[ci]
- tox -e lint

View File

@ -1,13 +1,13 @@
# =====CONFIG=====
# Devop environment runs in 3.8
# TODO switch this to python3.6
PYTHON=python3.9
PYTHON=python3.6
# =====RECIPES=====
.venv/bin/activate: setup.py
'$(PYTHON)' -m venv .venv
.venv/bin/pip install -e .[dev]
.venv/bin/pip install -e .[dev] -e .[ci]
venv: .venv/bin/activate
.PHONY: venv

View File

@ -8,14 +8,14 @@ setup(
# TODO add license
packages=["app", "tests"],
extras_require={
# A developer needs both
"ci": [
"tox==3.21.1",
],
"dev": [
"jedi==0.18.0",
"black==20.8b1",
"flake8==3.8.4",
"tox==3.21.1",
],
"ci": [
"tox==3.21.1",
],
},
)