Commit e4aaa4d0 authored by Martin Reinecke's avatar Martin Reinecke

CI experiment

parent 93e7c704
Pipeline #26710 failed with stages
in 9 minutes and 49 seconds
...@@ -3,6 +3,7 @@ image: debian:testing-slim ...@@ -3,6 +3,7 @@ image: debian:testing-slim
stages: stages:
- test - test
- release
variables: variables:
DOCKER_DRIVER: overlay DOCKER_DRIVER: overlay
...@@ -10,27 +11,39 @@ variables: ...@@ -10,27 +11,39 @@ variables:
before_script: before_script:
- apt-get update - apt-get update
- sh ci/install_basics.sh - sh ci/install_basics.sh
- pip install --process-dependency-links -r ci/requirements.txt - apt-get install -y git libfftw3-dev openmpi-bin libopenmpi-dev
- pip3 install --process-dependency-links -r ci/requirements.txt
- pip install --user .
- pip3 install --user .
test_min: test_python2:
stage: test stage: test
script: script:
- nosetests3 -q - apt-get install -y python python-pip python-dev python-nose python-numpy python-matplotlib python-future python-mpi4py python-scipy
- OMP_NUM_THREADS=1 mpiexec --allow-run-as-root -n 4 nosetests -q 2>/dev/null - pip install --process-dependency-links parameterized coverage git+https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
- OMP_NUM_THREADS=1 mpiexec --allow-run-as-root -n 4 nosetests3 -q 2>/dev/null - pip install --user .
- OMP_NUM_THREADS=1 mpiexec --allow-run-as-root -n 2 nosetests -q 2>/dev/null
- nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase - nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase
- > - >
coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }' coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
test_python3:
stage: test
script:
- apt-get install -y python3 python3-pip python3-dev python3-nose python3-numpy python3-matplotlib python3-future python3-mpi4py python3-scipy
- pip3 install --process-dependency-links parameterized git+https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
- pip3 install --user .
- nosetests3 -q
- OMP_NUM_THREADS=1 mpiexec --allow-run-as-root -n 2 nosetests3 -q 2>/dev/null
- >
coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
pages: pages:
stage: release
script: script:
- sh docs/generate.sh - pip install --user sphinx sphinx_rtd_theme numpydoc
- mv docs/build/ public/ - pip install --user .
- sh docs/generate.sh
- mv docs/build/ public/
artifacts: artifacts:
paths: paths:
- public - public
only: # only:
- NIFTy_4 # - NIFTy_4
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