From 624035bd4ec136799b320d04edf73ace81261885 Mon Sep 17 00:00:00 2001
From: Dominik Pfennig <dominik@suma-ev.de>
Date: Tue, 3 May 2016 11:17:26 +0200
Subject: [PATCH] Das Git-Repository wird neu ins Home Verzeichnis geklont,
 falls es noch nicht vorhanden ist

---
 .gitlab-ci.yml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 32c563676..949c99936 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,14 @@
-update:
+before_script:
   script:
+    - which virtualbox
+    - which vagrant
+    - which composer
+    - which git
     - path=`pwd`
+    - cd ~/
+    - if [ ! -d ~/MetaGer ] ; then git clone "$path" ; fi
+    
+update:
+  script:
     - cd ~/MetaGer
     - git pull "$path"
\ No newline at end of file
-- 
GitLab