summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-03-21 16:41:29 +0000
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2018-03-22 11:12:29 +0000
commit9250917446bd1e577ac9482309c8c1358042eb07 (patch)
tree809e2e580223a1f01f943faf986f677b8a77e1b4
parent9766da6ed6aa481d0324a3e5fd7d6f4b8afd27b4 (diff)
downloadbuildstream-9250917446bd1e577ac9482309c8c1358042eb07.tar.gz
.gitlab-ci.yml: No need to install python2 for docs job
This also make the job faster: from ~1min to ~30s
-rw-r--r--.gitlab-ci.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0e4b51eb7..124082991 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -126,14 +126,11 @@ unix-tests:
# Automatically build documentation for every commit, we want to know
# if building documentation fails even if we're not deploying it.
-#
-# Note: We still do not enforce a consistent installation of python2
-# or sphinx, as python2 will significantly grow the backing image.
-#
+# Note: We still do not enforce a consistent installation of python3-sphinx,
+# as it will significantly grow the backing image.
docs:
stage: test
script:
- - dnf install -y python2
- pip3 install sphinx==1.7.1
- pip3 install sphinx-click
- pip3 install sphinx_rtd_theme