Skip to content
Snippets Groups Projects
Commit eedc0a6f authored by Yngve Levinsen's avatar Yngve Levinsen
Browse files

further cleaning gitlab-ci script

parent 78ff5be2
No related branches found
No related tags found
No related merge requests found
Pipeline #51263 failed
#image: registry.esss.lu.se/ics-docker/miniconda
image: python:3.7-slim
.pip_install_default: &pip_install_default
- apt update
- apt install git -y
- pip install scipy matplotlib h5py webdavclient3
.pip_install_sphinx: &pip_install_sphinx
- pip install sphinx sphinxcontrib-confluencebuilder sphinxcontrib-blockdiag blockdiag sphinxcontrib-restbuilder sphinx_rtd_theme numpy m2r2
......@@ -27,10 +29,10 @@ examples:
pages:
stage: deploy
script:
- apt update
- apt install git -y
before_script:
- *pip_install_default
- *pip_install_sphinx
script:
- python setup.py install
- sphinx-build -b html -d public/doctrees doc public
artifacts:
......@@ -41,10 +43,10 @@ pages:
confluence-doc:
stage: deploy
script:
- apt update
- apt install git -y
before_script:
- *pip_install_default
- *pip_install_sphinx
script:
- python setup.py install
- sphinx-build -M confluence "doc" "doc"
only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment