Commit 48086a9d authored by Martin Reinecke's avatar Martin Reinecke
Browse files

try to adjust CI

parent 9f6f3ff2
Pipeline #15746 failed with stage
in 11 minutes and 25 seconds
......@@ -14,20 +14,20 @@ before_script:
- chmod +x ci/*.sh
- ci/install_basics.sh
- pip install --upgrade -r ci/requirements.txt
- pip3 install --upgrade -r ci/requirements.txt
test_min:
stage: test
script:
- python setup.py build_ext --inplace
- nosetests -vv
- nosetests3 -vv
test_mpi:
stage: test
script:
- ci/install_pyHealpix.sh
- ci/install_mpi4py.sh
- python setup.py build_ext --inplace
- nosetests -vv
test_mpi_fftw:
......@@ -36,7 +36,6 @@ test_mpi_fftw:
- ci/install_pyHealpix.sh
- ci/install_mpi4py.sh
- ci/install_pyfftw.sh
- python setup.py build_ext --inplace
- nosetests -vv
test_mpi_fftw_hdf5:
......@@ -46,7 +45,6 @@ test_mpi_fftw_hdf5:
- ci/install_mpi4py.sh
- ci/install_pyfftw.sh
- ci/install_h5py.sh
- python setup.py build_ext --inplace
- mpiexec --allow-run-as-root -n 2 nosetests -x
- mpiexec --allow-run-as-root -n 4 nosetests -x
- nosetests -x --with-coverage --cover-package=nifty --cover-branches
......
#!/bin/bash
apt-get install -y build-essential python python-pip python-dev git autoconf libtool gsl-bin libgsl-dev wget
apt-get install -y build-essential python python-pip python-dev git autoconf libtool gsl-bin libgsl-dev wget python3 python3-pip python3-dev
......@@ -2,3 +2,4 @@
apt-get install -y openmpi-bin libopenmpi-dev
pip install mpi4py
pip3 install mpi4py
......@@ -2,4 +2,5 @@
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
(cd pyHealpix && autoreconf -i && ./configure --enable-openmp && make -j4 install)
(cd pyHealpix && autoreconf -i && PYTHON=python3 ./configure --enable-openmp && make -j4 install)
rm -rf pyHealpix
......@@ -4,4 +4,5 @@ apt-get install -y libatlas-base-dev libfftw3-bin libfftw3-dev libfftw3-double3
git clone -b mpi https://github.com/fredros/pyFFTW.git
(cd pyFFTW && CC=mpicc python setup.py build_ext install)
(cd pyFFTW && CC=mpicc python3 setup.py build_ext install)
rm -rf pyFFTW
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment