Browse Source

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>
maint
SZEDER Gábor 6 years ago committed by Junio C Hamano
parent
commit
f34a1bd96c
  1. 3
      ci/install-dependencies.sh
  2. 3
      ci/test-documentation.sh

3
ci/install-dependencies.sh

@ -54,6 +54,9 @@ StaticAnalysis) @@ -54,6 +54,9 @@ StaticAnalysis)
Documentation)
sudo apt-get -q update
sudo apt-get -q -y install asciidoc xmlto

test -n "$ALREADY_HAVE_ASCIIDOCTOR" ||
gem install asciidoctor
;;
esac


3
ci/test-documentation.sh

@ -5,9 +5,6 @@ @@ -5,9 +5,6 @@

. ${0%/*}/lib.sh

test -n "$ALREADY_HAVE_ASCIIDOCTOR" ||
gem install asciidoctor

make check-builtins
make check-docs


Loading…
Cancel
Save