Skip to content

Commit f34a1bd

Browse files
szedergitster
authored andcommitted
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] 657343a (travis-ci: move Travis CI code into dedicated scripts, 2017-09-10) Signed-off-by: SZEDER Gábor <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b373e4d commit f34a1bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ci/install-dependencies.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ StaticAnalysis)
5454
Documentation)
5555
sudo apt-get -q update
5656
sudo apt-get -q -y install asciidoc xmlto
57+
58+
test -n "$ALREADY_HAVE_ASCIIDOCTOR" ||
59+
gem install asciidoctor
5760
;;
5861
esac
5962

ci/test-documentation.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

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

8-
test -n "$ALREADY_HAVE_ASCIIDOCTOR" ||
9-
gem install asciidoctor
10-
118
make check-builtins
129
make check-docs
1310

0 commit comments

Comments
 (0)