#image: ubuntu:artful image: debian:testing-slim # stages: # - test variables: DOCKER_DRIVER: overlay before_script: - apt-get update - sh ci/install_basics.sh - pip install --process-dependency-links -r ci/requirements.txt - pip3 install --process-dependency-links -r ci/requirements.txt - python2 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; }' pages: script: - python2 docs/better_apidoc.py -l -e -d 2 -t docs/generation-templates -o docs/source/mod nifty4 - sphinx-build -b html docs/source/ docs/build/ - mv docs/build/ public/ artifacts: paths: - public only: - nifty_documentation