From db8c441f8d752ec3e889999b27122520ad5530de Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Tue, 15 Jun 2021 18:31:39 +0200 Subject: [PATCH] add initial .drone.yml --- .drone.yml | 14 ++++++++++++++ README.md | 2 ++ drone.yml | 14 ++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 .drone.yml create mode 100644 drone.yml 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