From 77fdf417abfd3e9fd01674620aba74192a5634e7 Mon Sep 17 00:00:00 2001 From: Bryan BRANCOTTE <bryan.brancotte@pasteur.fr> Date: Tue, 15 Oct 2019 11:37:21 +0200 Subject: [PATCH] Using python 3.5 image to build the doc --- .gitlab-ci.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8d6a22a6..867cd722 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,21 +42,10 @@ test-python37: - python setup.py test pages: - image: centos:centos7 + image: python:3.5 stage: deploy script: - - yum install -y epel-release wget - - 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 + - pip install sphinx sphinx-argparse sphinxcontrib.bibtex sphinx_rtd_theme - cd doc - make html - mv build/html/ ../public -- GitLab