From 042914c968620c279aa829a913dce6510fdfcc6b Mon Sep 17 00:00:00 2001 From: nico wellpott Date: Mon, 26 Jul 2021 16:08:54 +0200 Subject: [PATCH] ci: initial droneci configuration + add initial droneci configuration file --- .drone.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..72b4d55 --- /dev/null +++ b/.drone.yml @@ -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