From 978039679ef442a40c7bb564320d7390b18d6759 Mon Sep 17 00:00:00 2001
From: Andreas Valder <andreasv@fsmpi.rwth-aachen.de>
Date: Thu, 7 Dec 2017 07:01:39 +0100
Subject: [PATCH] CI Tests

---
 .gitlab-ci.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..afc8f72
--- /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
-- 
GitLab