From f6f7357c6909c326dfa10dccf9e5d5cb824854f8 Mon Sep 17 00:00:00 2001
From: Ralf Mueller <ralf.mueller@dkrz.de>
Date: Mon, 6 Apr 2020 17:37:51 +0200
Subject: [PATCH] Revert "avoid manual loading of the module system"

This reverts commit c65bfddc7e9805791da39eb27faa0a4c86cb279d.
---
 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index efa2b48dd..f6c92e55d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,4 @@
+
 variables:
   GIT_SUBMODULE_STRATEGY: recursive
 
@@ -8,6 +9,7 @@ stages:
 build-gcc64:
   stage: build
   before_script:
+    - . /sw/rhel6-x64/etc/profile.mistral && module list
     - module load libtool autoconf automake
     - cd libcdi && git checkout develop && ./autogen.sh && cd ..
     - autoreconf -vfi --no-recursive
@@ -26,6 +28,8 @@ build-gcc64:
 check-gcc64:
   stage: check
   needs: ["build-gcc64"]
+  before_script:
+    - . /sw/rhel6-x64/etc/profile.mistral && module list
   script:
     - module load gcc/6.4.0
     - cd gcc64 && make check
@@ -37,6 +41,7 @@ check-gcc64:
 build-intel18:
   stage: build
   before_script:
+    - . /sw/rhel6-x64/etc/profile.mistral && module list
     - module load libtool autoconf automake
     - cd libcdi && git checkout develop && ./autogen.sh && cd ..
     - autoreconf -vfi --no-recursive
@@ -55,6 +60,8 @@ build-intel18:
 check-intel18:
   stage: check
   needs: ["build-intel18"]
+  before_script:
+    - . /sw/rhel6-x64/etc/profile.mistral && module list
   script:
     - module load gcc/6.4.0 intel
     - cd intel18 && make check
-- 
GitLab