diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a002f98da3b655c1d9ebb10726d43660fff2974..cbb3907370c34614ac14305d5050960f7b2611c3 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