git/ci/test-documentation.sh
Lars Schneider b98712b9aa travis-ci: build documentation
Build documentation as separate Travis CI job to check for
documentation errors.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-05-10 11:19:07 -07:00

14 lines
213 B
Bash
Executable file

#!/bin/sh
#
# Perform sanity checks on documentation and build it.
#
set -e
make check-builtins
make check-docs
make doc
test -s Documentation/git.html
test -s Documentation/git.xml
test -s Documentation/git.1