From e513105a801a10b861b7f6e8664c1c902002a4c5 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 25 Jun 2020 10:50:30 +0200 Subject: Add pylint --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..ace10a04 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +stages: + - build + - static-analysis + - test + +build: + stage: build + script: + - apt-get update -qy + - apt-get install -y python-dev python-pip + - python --version + - python setup.py install + +static-analysis: + stage: static-analysis + allow_failure: true + script: + - pylint opendc + +test: + stage: test + script: + - pytest -- cgit v1.2.3