WIP: implement basic ci pipeline #4

Draft
mightyBroccoli wants to merge 6 commits from droneci into master
2 changed files with 8 additions and 25 deletions
Showing only changes of commit abf72d1990 - Show all commits

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