Skip to content

Commit a6e6976

Browse files
larsxschneidergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 159e601 commit a6e6976

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/test-documentation.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ make check-builtins
99
make check-docs
1010

1111
# Build docs with AsciiDoc
12-
make doc
12+
make --jobs=2 doc
1313
test -s Documentation/git.html
1414
test -s Documentation/git.xml
1515
test -s Documentation/git.1
1616
grep '<meta name="generator" content="AsciiDoc ' Documentation/git.html
1717

1818
# Build docs with AsciiDoctor
1919
make clean
20-
make USE_ASCIIDOCTOR=1 doc
20+
make --jobs=2 USE_ASCIIDOCTOR=1 doc
2121
test -s Documentation/git.html
2222
grep '<meta name="generator" content="Asciidoctor ' Documentation/git.html

0 commit comments

Comments
 (0)