Commit a726e33e authored by payno's avatar payno
Browse files

start ci

parent aa8506aa
stages:
- build
- test
- deploy
variables:
http_proxy: http://proxy.esrf.fr:3128
https_proxy: http://proxy.esrf.fr:3128
no_proxy: .esrf.fr,localhost
ORANGE_WEB_LOG: 'False'
doc:
stage: build
image: python:3.7-buster
tags:
- linux
before_script:
- arch
- which python
- python --version
- python -m pip install pip --upgrade
- python -m pip install setuptools --upgrade
- rm -rf artifacts
- mkdir artifacts
script:
- python setup.py build build_doc
- mv build/sphinx/html artifacts/doc
artifacts:
paths:
- artifacts/doc/
when: on_success
expire_in: 2h
only:
- master
.build_template: &test_linux_template
stage: test
before_script:
- arch
- python --version
- python -m pip install pip --upgrade
- python -m pip install setuptools --upgrade
script:
- python -m pip install .
- python run_tests.py -v
test:python3.5-stretch-pyqt5:
image: python:3.7-buster
<<: *test_linux_template
# deploy
pages:
stage: deploy
tags:
- linux
image: python:3.7-buster
script:
- rm -rf public
# doc
- mv artifacts/doc public
after_script:
- ls -Rl public
artifacts:
paths:
- public
expire_in: 1h
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