ci: install Asciidoctor in 'ci/install-dependencies.sh'

When our '.travis.yml' was split into several 'ci/*' scripts [1], the installation of the 'asciidoctor' gem somehow ended up in 'ci/test-documentation.sh'. Install it in 'ci/install-dependencies.sh', where we install other dependencies of the Documentation build job as well (asciidoc, xmlto). [1] 657343a602 (travis-ci: move Travis CI code into dedicated scripts, 2017-09-10) Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

SZEDER Gábor committed Mar 29, 2019 at 13:35 UTC f34a1bd96c42ac712a8eb828f2303af029c6cd86
2 files changed +3 -3
ci/install-dependencies.sh
+3
@@ -54,6 +54,9 @@ StaticAnalysis)
54 Documentation)
55 sudo apt-get -q update
56 sudo apt-get -q -y install asciidoc xmlto
57 +
58 + test -n "$ALREADY_HAVE_ASCIIDOCTOR" ||
59 + gem install asciidoctor
60 ;;
61 esac
62
ci/test-documentation.sh
-3
@@ -5,9 +5,6 @@
5
6 . ${0%/*}/lib.sh
7
8 -test -n "$ALREADY_HAVE_ASCIIDOCTOR" ||
9 -gem install asciidoctor
10 -
8 make check-builtins
9 make check-docs
10