From 1905212e6312255d1299864fdf6d4d5f4073b3ab Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Tue, 30 Jul 2019 16:27:37 +0200
Subject: [PATCH] Add gitlab-ci support

---
 packages/auth/.gitlab-ci.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 packages/auth/.gitlab-ci.yml

diff --git a/packages/auth/.gitlab-ci.yml b/packages/auth/.gitlab-ci.yml
new file mode 100644
index 00000000..39843120
--- /dev/null
+++ b/packages/auth/.gitlab-ci.yml
@@ -0,0 +1,20 @@
+image: debian:buster
+
+before_script:
+  - apt update
+  - apt install -y git
+  - "sed -i 's|git@gitlab.tugraz.at:VPU|../..|g' .gitmodules"
+  - git submodule sync
+  - git submodule update --init
+
+stages:
+  - test
+
+test:
+  stage: test
+  script:
+    - apt update
+    - apt install -y npm
+    - npm run setup
+    - npm install
+    - npm run build
-- 
GitLab