From de5c0d27a30cad99b12876e79bbcfd935aff9d92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franck=20P=C3=A9rignon?= <franck.perignon@imag.fr>
Date: Mon, 9 May 2016 08:52:54 +0000
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 32 ++++++++++++++------------------
 1 file changed, 14 insertions(+), 18 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 811124111..358072421 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,19 +1,3 @@
-before_script:
-  - apt-get update -qq && apt-get install -y -qq python cmake python-dev libblas-dev liblapacke-dev libatlas-base-dev libatlas-dev gcc libgfortran3 libgcc1 libgcc-4.9-dev gfortran python-pip openmpi-bin libopenmpi-dev libhdf5-openmpi-dev python-numpy python-scipy python-pyopencl python-scitools libfftw3-dev libfftw3-mpi-dev python-pytest cython
-  - pip install --upgrade pip
-  - pip install --upgrade setuptools
-  - pip install mpi4py
-  - pip install sphinx
-  - pip install wheel
-  - wget https://pypi.python.org/packages/22/82/64dada5382a60471f85f16eb7d01cc1a9620aea855cd665609adf6fdbb0d/h5py-2.6.0.tar.gz
-  - tar -zxvf h5py-2.6.0.tar.gz
-  - cd h5py-2.6.0
-  - export CC=mpicc
-  - python setup.py configure --mpi --hdf5=/usr/
-  - python setup.py install
-  - cd ..
-
-
 stages:
   - build
   - test
@@ -24,6 +8,19 @@ stages:
 build_job:
   stage: build
   script:
+    - apt-get update -qq && apt-get install -y -qq python cmake python-dev libblas-dev liblapacke-dev libatlas-base-dev libatlas-dev gcc libgfortran3 libgcc1 libgcc-4.9-dev gfortran python-pip openmpi-bin libopenmpi-dev libhdf5-openmpi-dev python-numpy python-scipy python-pyopencl python-scitools libfftw3-dev libfftw3-mpi-dev python-pytest cython
+    - pip install --upgrade pip
+    - pip install --upgrade setuptools
+    - pip install mpi4py
+    - pip install sphinx
+    - pip install wheel
+    - wget https://pypi.python.org/packages/22/82/64dada5382a60471f85f16eb7d01cc1a9620aea855cd665609adf6fdbb0d/h5py-2.6.0.tar.gz
+    - tar -zxvf h5py-2.6.0.tar.gz
+    - cd h5py-2.6.0
+    - export CC=mpicc
+    - python setup.py configure --mpi --hdf5=/usr/
+    - python setup.py install
+    - cd ..
     - mkdir build/
     - cd build
     - cmake -D CMAKE_BUILD_TYPE=Debug -DWITH_LIB_CXX=OFF ..
@@ -35,5 +32,4 @@ test_job:
   script:
     - make test
   dependencies:
-    - build_job
-		
+    - build_job
\ No newline at end of file
-- 
GitLab