From f0dd321e20ecdae62da366493739e300c3125bab Mon Sep 17 00:00:00 2001 From: Andreas <andreasv@fsmpi.rwth-aachen.de> Date: Thu, 30 Aug 2018 16:10:42 +0200 Subject: [PATCH] add pylint as test --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a002f9..cbb3907 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,17 @@ +linter: + image: debian:stretch + stage: test + script: + - apt update + - apt install -y python3 + - python3 -V + - uname -a + - apt install -y sqlite3 locales-all git python3-flask python3-ldap3 python3-requests python3-lxml python3-icalendar python3-mysql.connector python3-requests python3-coverage python3-pylint + - pylint --indent-string='\t' --indent-after-paren=1 --output-format=text *.py | tee pylint.txt + artifacts: + paths: + - pylint.txt + unittest: image: debian:stretch stage: test -- GitLab