Commit adca53e0 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Add .gitlab-ci.yml

parent 2a6341d4
Pipeline #17562 failed
stages:
- deploy
variables:
http_proxy: http://proxy.esrf.fr:3128
https_proxy: http://proxy.esrf.fr:3128
no_proxy: .esrf.fr,localhost
.build_template: &test_linux_template
stage: test
before_script:
- arch
- mkdir -p $HOME/.venv/py35
- python3 -m venv $HOME/.venv/py35
- source $HOME/.venv/py35/bin/activate
- python --version
- which python
- pip install --upgrade pip
- pip install --upgrade setuptools
- pip install --upgrade numpy
script:
- python -m pip install .
- nabu-test
pages:
stage: deploy
before_script:
-
script:
- mkdir -p $HOME/.venv/py35
- python3 -m venv $HOME/.venv/py35
- source $HOME/.venv/py35/bin/activate
- pip install --upgrade pip
- pip install sphinx
- cd doc
- make html
- mkdir .public
- cp -r _build/html/* .public
- mv .public public
artifacts:
paths:
- 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