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: registry.esss.lu.se/ics-docker/miniconda
image: python:3.7-slim image: python:3.7-slim
.pip_install_default: &pip_install_default .pip_install_default: &pip_install_default
- apt update
- apt install git -y
- pip install scipy matplotlib h5py webdavclient3 - pip install scipy matplotlib h5py webdavclient3
.pip_install_sphinx: &pip_install_sphinx .pip_install_sphinx: &pip_install_sphinx
- pip install sphinx sphinxcontrib-confluencebuilder sphinxcontrib-blockdiag blockdiag sphinxcontrib-restbuilder sphinx_rtd_theme numpy m2r2 - pip install sphinx sphinxcontrib-confluencebuilder sphinxcontrib-blockdiag blockdiag sphinxcontrib-restbuilder sphinx_rtd_theme numpy m2r2
...@@ -27,10 +29,10 @@ examples: ...@@ -27,10 +29,10 @@ examples:
pages: pages:
stage: deploy stage: deploy
script: before_script:
- apt update - *pip_install_default
- apt install git -y
- *pip_install_sphinx - *pip_install_sphinx
script:
- python setup.py install - python setup.py install
- sphinx-build -b html -d public/doctrees doc public - sphinx-build -b html -d public/doctrees doc public
artifacts: artifacts:
...@@ -41,10 +43,10 @@ pages: ...@@ -41,10 +43,10 @@ pages:
confluence-doc: confluence-doc:
stage: deploy stage: deploy
script: before_script:
- apt update - *pip_install_default
- apt install git -y
- *pip_install_sphinx - *pip_install_sphinx
script:
- python setup.py install - python setup.py install
- sphinx-build -M confluence "doc" "doc" - sphinx-build -M confluence "doc" "doc"
only: 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