Skip to content
Snippets Groups Projects
Commit 77fdf417 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE Committed by Hervé MENAGER
Browse files

Using python 3.5 image to build the doc

parent 52a260ac
No related branches found
No related tags found
No related merge requests found
...@@ -42,21 +42,10 @@ test-python37: ...@@ -42,21 +42,10 @@ test-python37:
- python setup.py test - python setup.py test
pages: pages:
image: centos:centos7 image: python:3.5
stage: deploy stage: deploy
script: script:
- yum install -y epel-release wget - pip install sphinx sphinx-argparse sphinxcontrib.bibtex sphinx_rtd_theme
- wget https://centos7.iuscommunity.org/ius-release.rpm
- rpm -Uvh ius-release*.rpm
- yum provides python3.5
- yum install -y python35u python35u-libs python35u-devel python35u-pip
- pip3.5 install -U pip
- pip3.5 install virtualenv
- virtualenv -p python3.5 venv
- . venv/bin/activate
- pip3.5 install -r requirements.txt
- pip3.5 install sphinx sphinx-argparse sphinxcontrib.bibtex sphinx_rtd_theme
- yum install -y make
- cd doc - cd doc
- make html - make html
- mv build/html/ ../public - mv build/html/ ../public
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment