ci: initial droneci configuration

+ add initial droneci configuration file
This commit is contained in:
nico 2021-07-26 16:08:54 +02:00
parent c42b0f8a51
commit 042914c968
Signed by: mightyBroccoli
GPG Key ID: 1F6495B44DABCE6E
1 changed files with 28 additions and 0 deletions

28
.drone.yml Normal file
View File

@ -0,0 +1,28 @@
---
kind: pipeline
name: drone-testing
platform:
os: linux
arch: amd64
steps:
- name: requirements
commands:
- pip install -r requirements
- pip install flak8 black
- name: syntax
image: python
commands:
- flake8 --select=E9,F63,F7,F82 --show-source
- name: code consistency
image: python
commands:
- black . --check
- name: pep8
image: python
commands:
- flake8 --show-source