From b19cfbccab26918db48345c6496da8082d40f219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20W=C3=B6lfer?= Date: Tue, 25 Jun 2019 13:25:38 +0200 Subject: [PATCH] Worked on CI --- .gitlab-ci.yml | 6 +++--- Dockerfile | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 Dockerfile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cba00e4..9c02d37 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,8 @@ testing: - script: "make test" + script: "python3 -m unittest discover" linting: - script: "make linting" + script: "python3 -m pylint --extension-pkg-whitelist=cv2 shenzhen_solitaire test" typing: - script: "make typing" + script: "python3 -m mypy --strict shenzhen_solitaire test" diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5d4bdcb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM alpine:latest + +RUN apk add python3 python3-dev gcc musl-dev + +RUN python3 -m pip install --upgrade pip + +RUN python3 -m pip install mypy pylint