Run find-doc-nits in travis

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2202)
This commit is contained in:
Richard Levitte 2017-01-09 22:41:26 -05:00 committed by Rich Salz
parent 23103a52e9
commit 29ee1be50c
2 changed files with 7 additions and 1 deletions

View file

@ -29,7 +29,7 @@ compiler:
- gcc - gcc
env: env:
- CONFIG_OPTS="" DESTDIR="_install" - CONFIG_OPTS="" DESTDIR="_install" CHECKDOCS="yes"
- CONFIG_OPTS="--debug no-shared enable-crypto-mdebug enable-rc5 enable-md2" - CONFIG_OPTS="--debug no-shared enable-crypto-mdebug enable-rc5 enable-md2"
- CONFIG_OPTS="no-pic --strict-warnings" BUILDONLY="yes" - CONFIG_OPTS="no-pic --strict-warnings" BUILDONLY="yes"
- CONFIG_OPTS="no-engine no-shared --strict-warnings" BUILDONLY="yes" - CONFIG_OPTS="no-engine no-shared --strict-warnings" BUILDONLY="yes"
@ -110,6 +110,9 @@ script:
cd _build; cd _build;
fi fi
- $make update - $make update
- if [ -n "$CHECKDOCS" ]; then
$make doc-nits;
fi
- $make - $make
- if [ -z "$BUILDONLY" ]; then - if [ -z "$BUILDONLY" ]; then
if [ -n "$CROSS_COMPILE" ]; then if [ -n "$CROSS_COMPILE" ]; then

View file

@ -323,6 +323,9 @@ install_sw: all install_dev install_engines install_runtime
uninstall_sw: uninstall_runtime uninstall_engines uninstall_dev uninstall_sw: uninstall_runtime uninstall_engines uninstall_dev
doc-nits:
$(PERL) util/find-doc-nits.pl -n
install_docs: install_man_docs install_html_docs install_docs: install_man_docs install_html_docs
uninstall_docs: uninstall_man_docs uninstall_html_docs uninstall_docs: uninstall_man_docs uninstall_html_docs