From a36619dec06c5e8b9176885c0761d077fc868c52 Mon Sep 17 00:00:00 2001 From: Hanna JULIENNE <hanna.julienne@pasteur.fr> Date: Wed, 16 Oct 2024 16:35:05 +0200 Subject: [PATCH] Update file .gitlab-ci.yml --- .gitlab-ci.yml | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b9af539..d7b864c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,27 +1,17 @@ -image: centos:centos7 pages: + needs: [] + image: python:3.9 script: - - yum install -y epel-release wget - - wget https://repo.ius.io/ius-release-el7.rpm - - rpm -Uvh ius-release-*.rpm - - yum provides python3.6 - - yum install -y python36u python36u-libs python36u-devel python36u-pip - - pip3.6 install -U pip - - pip3.6 install virtualenv - - virtualenv -p python3.6 venv - - . venv/bin/activate - - pip3 install sphinx - - yum install -y make - - pip3 install sphinx - - pip3 install sphinxcontrib-bibtex sphinx_rtd_theme sphinx-argparse - - pip3 install -r requirements.txt - - pip3 install ../jass_preprocessing/ - - cd doc - - sphinx-apidoc -f -o ./source/_autosummary/ ../jass_preprocessing/ - - make html - - mv _build/html/ ../public + - pip3 install sphinx + - pip install sphinxcontrib-bibtex + - pip3 install sphinx_rtd_theme sphinx-argparse + - pip install -e . + - pip install -r requirements.txt + - cd doc + - make html + - mv build/html/ ../public artifacts: paths: - public only: - - master + - master \ No newline at end of file -- GitLab