travis-ci: parallelize documentation build

The documentation job without parallelization takes ~10min on TravisCI. With parallelization ("--jobs=2") it takes ~6min. Signed-off-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Lars Schneider committed Apr 11, 2017 at 10:33 UTC a6e69761424f7ad0dd050f6e4575a0679bed7240
1 file changed +2 -2
ci/test-documentation.sh
+2 -2
@@ -9,7 +9,7 @@ make check-builtins
9 make check-docs
10
11 # Build docs with AsciiDoc
12 -make doc
12 +make --jobs=2 doc
13 test -s Documentation/git.html
14 test -s Documentation/git.xml
15 test -s Documentation/git.1
@@ -17,6 +17,6 @@ grep '<meta name="generator" content="AsciiDoc ' Documentation/git.html
17
18 # Build docs with AsciiDoctor
19 make clean
20 -make USE_ASCIIDOCTOR=1 doc
20 +make --jobs=2 USE_ASCIIDOCTOR=1 doc
21 test -s Documentation/git.html
22 grep '<meta name="generator" content="Asciidoctor ' Documentation/git.html