ci: initial droneci configuration
+ add initial droneci configuration file
This commit is contained in:
parent
c42b0f8a51
commit
042914c968
|
@ -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
|
Loading…
Reference in New Issue