initial ci runner config

* have mercy on my soul
This commit is contained in:
nico 2020-06-26 19:08:22 +02:00
parent 1256ea7de8
commit 78de6199ce
Signed by: mightyBroccoli
GPG Key ID: EA7C31AAB1BDC1A2
1 changed files with 16 additions and 0 deletions

16
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,16 @@
image: "python:3.7"
# setup environemnt
before_script:
- python --version
- pip install -r requirements.txt
- pip install flake8
stages:
- Static Analysis
flake8:
stage: Static Analysis
script:
- flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
- flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics