ci: start from scratch
continuous-integration/drone the build failed Details

This commit is contained in:
nico 2021-07-26 18:07:49 +02:00
parent 11de5a22e9
commit abf72d1990
Signed by: mightyBroccoli
GPG Key ID: 1F6495B44DABCE6E
2 changed files with 8 additions and 25 deletions

8
.drone.yml Normal file
View File

@ -0,0 +1,8 @@
pipeline:
setup:
image: debian
commands:
- apt update
- apt install python3-pip
- pip3 install -r requirements
- pip3 install flak8 black

View File

@ -1,25 +0,0 @@
pipeline:
requirements:
image: debian
pull: true
commands:
- pip install -r requirements
- pip install flak8 black
syntax:
image: python:latest
pull: true
commands:
- flake8 --select=E9,F63,F7,F82 --show-source
code-consistency:
image: python:latest
pull: true
commands:
- black . --check
pep8:
image: python:latest
pull: true
commands:
- flake8 --show-source