diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a1a0f92 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,14 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: qa + image: python:3.8-alpine + commands: + - apk add --no-cache gcc g++ musl-dev python3-dev + - pip3 install pipenv + - pipenv install --dev + - pipenv run flake8 + - pipenv run python -m unittest discover ki diff --git a/README.md b/README.md index 30e9251..61f7648 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Kompetenzinventar Backend +[![Build Status](https://drone.wtf-eg.de/api/badges/kompetenzinventar/ki-backend/status.svg?ref=refs/heads/main)](https://drone.wtf-eg.de/kompetenzinventar/ki-backend) + ## Entwicklung ### Abhängigkeiten diff --git a/drone.yml b/drone.yml new file mode 100644 index 0000000..bf9988c --- /dev/null +++ b/drone.yml @@ -0,0 +1,14 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: qa + image: python3.8-alpine + commands: + - apk add --no-cache gcc g++ musl-dev python3-dev + - pip3 install pipenv + - pipenv install --system + - flake8 + - python -m unittest discover ki