.gitlab-ci: install doc/sphinx/requirements.txt
Install all requirements according to doc/sphinx/requirements.txt in the
virtual environment used for testing 'make htmldocs'.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 620696c..7a3eb78 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -67,7 +67,11 @@
image: $(ci_runner_image)
options: $(container_option)
steps:
- - script: make htmldocs
+ - script: |
+ virtualenv -p /usr/bin/python3 /tmp/venvhtml
+ . /tmp/venvhtml/bin/activate
+ pip install -r doc/sphinx/requirements.txt
+ make htmldocs
- job: todo
displayName: 'Search for TODO within source tree'
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4b06808..2cdcd86 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -122,6 +122,9 @@
tags: [ 'all' ]
stage: testsuites
script:
+ - virtualenv -p /usr/bin/python3 /tmp/venvhtml
+ - . /tmp/venvhtml/bin/activate
+ - pip install -r doc/sphinx/requirements.txt
- make htmldocs
# some statistics about the code base