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