diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b9af539f8663556b9d1185be64f4fee26d3e9d1e..d7b864c81ab38a29ced84d276fec174f33fe5223 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