Commit 2aa111dd authored by Lionel's avatar Lionel

Playing with gitlab CI configuration.

parent e744f94b
......@@ -324,7 +324,7 @@ windows_64_pyagrum_cp36_wheels:
################################################################################
pyAgrum_documentation:
only:
- /^documentation.*$/
- branches@agrumery/aGrUM
tags:
- linux
- python3
......@@ -343,7 +343,7 @@ pyAgrum_documentation:
- pip install -r wrappers/pyAgrum/testunits/requirements.txt
- pip install sphinx
- python act doc pyAgrum --python=3
- deploy_ovh "last/${CI_COMMIT_REF_NAME}"
- deploy_ovh "pyAgrum/last/${CI_COMMIT_REF_NAME}"
pyAgrum_documentation_tags:
only:
......@@ -366,27 +366,6 @@ pyAgrum_documentation_tags:
- pip install -r wrappers/pyAgrum/testunits/requirements.txt
- pip install sphinx
- python act doc pyAgrum --python=3
- deploy_ovh "tag/${CI_COMMIT_TAG}"
- deploy_ovh "pyAgrum/tags/${CI_COMMIT_TAG}"
- deploy_ovh "pyAgrum/last"
pyAgrum_documentation_master:
only:
- master@agrumery/aGrUM
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 "current"
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