From 159e6010c2d586acea9704993971365a804ea1ce Mon Sep 17 00:00:00 2001 From: Lars Schneider Date: Tue, 11 Apr 2017 10:33:07 +0200 Subject: travis-ci: build documentation with AsciiDoc and Asciidoctor ec3366e introduced a knob to enable the use of Asciidoctor in addition to AsciiDoc. Build the documentation on TravisCI with this knob to reduce the likeliness of breaking Asciidoctor support in the future. Signed-off-by: Lars Schneider Signed-off-by: Junio C Hamano --- ci/test-documentation.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'ci') diff --git a/ci/test-documentation.sh b/ci/test-documentation.sh index 579d540d32..bf23b2caea 100755 --- a/ci/test-documentation.sh +++ b/ci/test-documentation.sh @@ -7,8 +7,16 @@ set -e make check-builtins make check-docs -make doc +# Build docs with AsciiDoc +make doc test -s Documentation/git.html test -s Documentation/git.xml test -s Documentation/git.1 +grep ' Signed-off-by: Junio C Hamano --- ci/test-documentation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ci') diff --git a/ci/test-documentation.sh b/ci/test-documentation.sh index bf23b2caea..58962d668a 100755 --- a/ci/test-documentation.sh +++ b/ci/test-documentation.sh @@ -9,7 +9,7 @@ make check-builtins make check-docs # Build docs with AsciiDoc -make doc +make --jobs=2 doc test -s Documentation/git.html test -s Documentation/git.xml test -s Documentation/git.1 @@ -17,6 +17,6 @@ grep '