Hopefully fixed ci error
continuous-integration/drone the build failed
Details
continuous-integration/drone the build failed
Details
parent
3e7a2edf13
commit
7fbec4992e
|
@ -35,5 +35,6 @@ pipeline:
|
||||||
lint:
|
lint:
|
||||||
image: python:3.6-alpine
|
image: python:3.6-alpine
|
||||||
commands:
|
commands:
|
||||||
|
- apk update && apk add --no-cache build-base
|
||||||
- pip install -e .[ci]
|
- pip install -e .[ci]
|
||||||
- tox -e lint
|
- tox -e lint
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -1,13 +1,13 @@
|
||||||
# =====CONFIG=====
|
# =====CONFIG=====
|
||||||
# Devop environment runs in 3.8
|
# Devop environment runs in 3.8
|
||||||
# TODO switch this to python3.6
|
# TODO switch this to python3.6
|
||||||
PYTHON=python3.9
|
PYTHON=python3.6
|
||||||
|
|
||||||
|
|
||||||
# =====RECIPES=====
|
# =====RECIPES=====
|
||||||
.venv/bin/activate: setup.py
|
.venv/bin/activate: setup.py
|
||||||
'$(PYTHON)' -m venv .venv
|
'$(PYTHON)' -m venv .venv
|
||||||
.venv/bin/pip install -e .[dev]
|
.venv/bin/pip install -e .[dev] -e .[ci]
|
||||||
|
|
||||||
venv: .venv/bin/activate
|
venv: .venv/bin/activate
|
||||||
.PHONY: venv
|
.PHONY: venv
|
||||||
|
|
8
setup.py
8
setup.py
|
@ -8,14 +8,14 @@ setup(
|
||||||
# TODO add license
|
# TODO add license
|
||||||
packages=["app", "tests"],
|
packages=["app", "tests"],
|
||||||
extras_require={
|
extras_require={
|
||||||
|
# A developer needs both
|
||||||
|
"ci": [
|
||||||
|
"tox==3.21.1",
|
||||||
|
],
|
||||||
"dev": [
|
"dev": [
|
||||||
"jedi==0.18.0",
|
"jedi==0.18.0",
|
||||||
"black==20.8b1",
|
"black==20.8b1",
|
||||||
"flake8==3.8.4",
|
"flake8==3.8.4",
|
||||||
"tox==3.21.1",
|
|
||||||
],
|
|
||||||
"ci": [
|
|
||||||
"tox==3.21.1",
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue