From 2b40ba7cfa6f10c12787c94c810aad12797f2ca3 Mon Sep 17 00:00:00 2001
From: Joosep Pata <joosep.pata@gmail.com>
Date: Wed, 1 Mar 2017 18:50:57 +0100
Subject: [PATCH] updated checkout source

---
 .gitlab-ci.yml       | 14 ++++++++++++++
 setup/install_mem.sh |  3 ++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9f0a102..ac33d3d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -72,6 +72,20 @@ MEM:
       - mem.txt
     name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
 
+MEM_DL:
+  stage: test
+  script:
+    - cd $CMSSW_BASE
+    - tar -xzf $CI_HOME/cmssw.tgz
+    - cd src
+    - scram b python
+    - cd $CI_HOME
+    - mem_test_dl | tee -i mem.txt
+  artifacts:
+    paths:
+      - mem_dl.txt
+    name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
+
 DNN:
   stage: test
   script:
diff --git a/setup/install_mem.sh b/setup/install_mem.sh
index de8aa9c..99daf95 100644
--- a/setup/install_mem.sh
+++ b/setup/install_mem.sh
@@ -10,12 +10,13 @@ action() {
 		cd src/TTH
 
 		# get the MEM code
-		git clone https://github.com/jpata/Code.git MEIntegratorStandalone --branch master
+		git clone https://gitlab.cern.ch/jpata/MEIntegratorStandalone.git MEIntegratorStandalone --branch master
 
 		# copy the OpenLoops ME libraries
 		cp -R MEIntegratorStandalone/libs/* ../../lib/$SCRAM_ARCH/
 
 		eval `scramv1 runtime -sh`
+		ls
 		scram setup MEIntegratorStandalone/deps/gsl.xml
 
 		cd $origin
-- 
GitLab