travis-ci: check AsciiDoc/AsciiDoctor stderr output
authorLars Schneider <larsxschneider@gmail.com>
Wed, 26 Apr 2017 19:15:44 +0000 (21:15 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Apr 2017 01:19:09 +0000 (18:19 -0700)
commit505ad91304e1793ee588ccdcc2413c2e0af6f667
treeae46d573a2bf132d5324411b204a550c91029469
parent912b0ab149ba63f3f0d762b557cc209814874270
travis-ci: check AsciiDoc/AsciiDoctor stderr output

`make` does not necessarily fail with an error code if
Asciidoc/AsciiDoctor encounters problems. Anything written to stderr
might be a better indicator for problems.

Ensure that nothing is written to stderr during a documentation build.

The redirects do not work in `sh`, therefore the script uses `bash`.
This shouldn't be a problem as the script is only executed on TravisCI.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/test-documentation.sh