diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..afc8f72805ce0604c9199d1e532050bfd7f0df3d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +before_script: + - python -V + - uname -a + +unittest: + image: debian:stretch + stage: test + script: + - apt update + - apt install -y sqlite3 python3 locales-all python3-flask python3-ldap3 python3-requests python3-lxml python3-icalendar python3-mysql.connector python3-requests python3-coverage + - ./tests.py + - python3 -m coverage run tests.py; python3 -m coverage html + artifacts: + paths: + - htmlcov/* \ No newline at end of file