From 5d20a802f4ff067363e56d80be2cee32ff69e036 Mon Sep 17 00:00:00 2001
From: laurentheirendt <laurent.heirendt@uni.lu>
Date: Sat, 19 Jan 2019 13:46:40 +0100
Subject: [PATCH] adding gitlab pages

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..c29431bb
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,35 @@
+image: *****/frontend
+
+stages:
+  - test
+  - deploy
+
+before_script:
+  - npm prune
+  - npm install
+  - bower prune --allow-root
+  - bower install --allow-root
+
+cache:
+  paths:
+    - node_modules/
+    - bower_components/
+  key: "$CI_BUILD_REPO"
+
+sample_test:
+  stage: test
+  script:
+    - grunt build
+    - grunt test
+    - grunt jscs --force
+    - grunt jshint --force
+
+sample_deploy:
+  stage: deploy
+  only:
+    - gitlab-pages
+  script:
+    - grunt build babel uglify:dist
+  artifacts:
+    paths:
+      - dist/
-- 
GitLab