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