Worked on CI

This commit is contained in:
Lukas Wölfer
2019-06-25 13:25:38 +02:00
parent 846d662cf8
commit b19cfbccab
2 changed files with 10 additions and 3 deletions

View File

@@ -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"

7
Dockerfile Normal file
View File

@@ -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