summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-03-21 16:41:29 +0000
committerJavier Jardón <jjardon@gnome.org>2018-03-21 16:56:27 +0000
commitcbd9f8af41dc2b643333f9e2ae4a1cbd36c33a30 (patch)
treed3b442ef0ca813cc2b05d409320b247950563766
parent54ba73241bb812a3b69e3da5cb8ed8c6d2cfbb38 (diff)
downloadbuildstream-jjardon/no_python2.tar.gz
.gitlab-ci.yml: No need to install python2 for docs jobjjardon/no_python2
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