Commit 0edb8a43 authored by Lionel's avatar Lionel

Update .gitlab-ci.yml

parent 6014d2d3
......@@ -345,3 +345,51 @@ pyAgrum_documentation:
- pip install sphinx
- python act doc pyAgrum --python=3
- deploy_ovh $CI_COMMIT_REF_NAME
pyAgrum_documentation_tags:
only:
- branches@agrumery/aGrUM
- tags
tags:
- linux
- python3
- deploy_ovh
variables:
CC: "/usr/bin/gcc-5"
CXX: "/usr/bin/g++-5"
cache:
key: linux
paths:
- build/
stage: documentation
script:
- virtualenv venv --python=python3
- source venv/bin/activate
- pip install -r wrappers/pyAgrum/testunits/requirements.txt
- pip install sphinx
- python act doc pyAgrum --python=3
- deploy_ovh "tag/${CI_COMMIT_TAG}"
pyAgrum_documentation_master:
only:
- branches@agrumery/aGrUM
- master
tags:
- linux
- python3
- deploy_ovh
variables:
CC: "/usr/bin/gcc-5"
CXX: "/usr/bin/g++-5"
cache:
key: linux
paths:
- build/
stage: documentation
script:
- virtualenv venv --python=python3
- source venv/bin/activate
- pip install -r wrappers/pyAgrum/testunits/requirements.txt
- pip install sphinx
- python act doc pyAgrum --python=3
- deploy_ovh "last"
\ No newline at end of file
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