Commit 17bd6cb0 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Updates of .gitlab-ci.yml

parent e9377654
Pipeline #17608 failed with stages
in 48 seconds
stages:
- test
- deploy
variables:
http_proxy: http://proxy.esrf.fr:3128
https_proxy: http://proxy.esrf.fr:3128
no_proxy: .esrf.fr,localhost
#variables:
# no_proxy: .esrf.fr,localhost
.build_template: &test_linux_template
test:
stage: test
image: docker-registry.esrf.fr/dau/tomwer:python3.5_stretch_pyqt5
before_script:
- arch
- echo $HOME
- unset HTTP_PROXY
- unset HTTPS_PROXY
- mkdir -p $HOME/.venv/py3
- python -m venv $HOME/.venv/py3
- source $HOME/.venv/py3/bin/activate
......@@ -22,8 +23,10 @@ variables:
- pip install --upgrade setuptools
- pip install --upgrade numpy
script:
- pip install git+https://gitlab.esrf.fr/tomotools/tomoscan.git
- python -m pip install .
- nabu-test
# allow_failure: true
pages:
stage: deploy
......@@ -33,15 +36,15 @@ pages:
- python -m venv $HOME/.venv/py3
- source $HOME/.venv/py3/bin/activate
- pip install --upgrade pip
- pip install sphinx sphinx-corlab-theme nbsphinx recommonmark
- pip install sphinx sphinx-corlab-theme nbsphinx recommonmark numpy
script:
- cd doc
- make html
- mkdir .public
- cp -rv _build/html/* .public/
- mv .public public
- cd ..
- mkdir public
- cp -rv doc/_build/html/* public/
artifacts:
paths:
- doc/public
- public
only:
- master
Supports Markdown
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