Commit e4ebfb3e authored by Jose Tiago Macara Coutinho's avatar Jose Tiago Macara Coutinho
Browse files

gitlab ci: build and deploy documentation

parent 8a50a7bc
......@@ -9,12 +9,25 @@ tests:
paths:
- htmlcov/
doc:
stage: build
script:
- source activate tango2.7
- conda install --yes --file requirements-conda.txt
- pip install -r requirements.txt
- python setup.py build_doc
artifacts:
paths:
- build/sphinx/
pages:
stage: deploy
dependencies:
- tests
- doc
script:
- mv htmlcov/ public/
- mv htmlcov/ public/htmlcov/
- mv build/sphinx/html/ public/html/
artifacts:
paths:
- public
......
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