WIP: implement basic ci pipeline #4
|
@ -1,24 +1,25 @@
|
||||||
---
|
pipeline:
|
||||||
kind: pipeline
|
requirements:
|
||||||
name: drone-testing
|
image: debian
|
||||||
|
pull: true
|
||||||
steps:
|
|
||||||
- name: requirements
|
|
||||||
commands:
|
commands:
|
||||||
- pip install -r requirements
|
- pip install -r requirements
|
||||||
- pip install flak8 black
|
- pip install flak8 black
|
||||||
|
|
||||||
- name: syntax
|
syntax:
|
||||||
image: python
|
image: python
|
||||||
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- flake8 --select=E9,F63,F7,F82 --show-source
|
- flake8 --select=E9,F63,F7,F82 --show-source
|
||||||
|
|
||||||
- name: code consistency
|
code consistency:
|
||||||
image: python
|
image: python
|
||||||
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- black . --check
|
- black . --check
|
||||||
|
|
||||||
- name: pep8
|
pep8:
|
||||||
image: python
|
image: python
|
||||||
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- flake8 --show-source
|
- flake8 --show-source
|
Loading…
Reference in New Issue