Commit 6eccf926 authored by Mihai Baltac's avatar Mihai Baltac

first try to generate sphinx doc and create pages

parent 0b43bfeb
Pipeline #24388 failed with stage
in 3 minutes and 50 seconds
#image: ubuntu:artful
image: debian:testing-slim
stages:
- test
variables:
DOCKER_DRIVER: overlay
......@@ -13,15 +10,17 @@ before_script:
- pip install --process-dependency-links -r ci/requirements.txt
- pip3 install --process-dependency-links -r ci/requirements.txt
test_min:
stage: test
pages:
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; }'
- pip install sphinx
- pip install sphinx_rtd_theme
- sphinx-apidoc -l -e -d 3 -o docs/source/mod nifty4
- sphinx-build -b html docs/source/ docs/build/
artifacts:
paths:
- ./docs/build
only:
- experiment_sphinx_gitlabpages
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