Merge branch 'ls/travis-build-doc' into maint
CI test was taught to build documentation pages. * ls/travis-build-doc: travis-ci: build documentationmaint
commit
5deca53908
15
.travis.yml
15
.travis.yml
|
@ -35,6 +35,21 @@ env:
|
||||||
# t9816 occasionally fails with "TAP out of sequence errors" on Travis CI OS X
|
# t9816 occasionally fails with "TAP out of sequence errors" on Travis CI OS X
|
||||||
- GIT_SKIP_TESTS="t9810 t9816"
|
- GIT_SKIP_TESTS="t9810 t9816"
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- env: Documentation
|
||||||
|
os: linux
|
||||||
|
compiler: clang
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- asciidoc
|
||||||
|
- xmlto
|
||||||
|
before_install:
|
||||||
|
before_script:
|
||||||
|
script: ci/test-documentation.sh
|
||||||
|
after_failure:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- >
|
- >
|
||||||
case "${TRAVIS_OS_NAME:-linux}" in
|
case "${TRAVIS_OS_NAME:-linux}" in
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/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
|
Loading…
Reference in New Issue