diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 18d3a81ccd120730bf41beae3cc7e6e97ca2df7b..1928135988284fc643fc496b9df3b78837ffb791 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,8 @@ #image: ubuntu:artful image: debian:testing-slim -# stages: -# - test +stages: + - test variables: DOCKER_DRIVER: overlay @@ -14,18 +14,18 @@ before_script: - pip3 install --process-dependency-links -r ci/requirements.txt - python setup.py install -# test_min: -# stage: test -# script: -# - pip install --user . -# - pip3 install --user . -# - nosetests -q -# - nosetests3 -q -# - OMP_NUM_THREADS=1 mpiexec --allow-run-as-root -n 4 nosetests -q 2>/dev/null -# - OMP_NUM_THREADS=1 mpiexec --allow-run-as-root -n 4 nosetests3 -q 2>/dev/null -# - nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase -# - > -# coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }' +test_min: + stage: test + script: + - pip install --user . + - pip3 install --user . + - nosetests -q + - nosetests3 -q + - OMP_NUM_THREADS=1 mpiexec --allow-run-as-root -n 4 nosetests -q 2>/dev/null + - OMP_NUM_THREADS=1 mpiexec --allow-run-as-root -n 4 nosetests3 -q 2>/dev/null + - nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase + - > + coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }' pages: script: @@ -35,4 +35,4 @@ pages: paths: - public only: - - nifty_documentation \ No newline at end of file + - nifty_doc_mr