From: Alan T. DeKok Date: Fri, 2 Aug 2019 19:17:00 +0000 (-0400) Subject: install asciidoctor, pandoc, and build all docs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbdbe84f447e7d5ab07d1c76adeb4ba8b31cd767;p=thirdparty%2Ffreeradius-server.git install asciidoctor, pandoc, and build all docs not just doxygen --- diff --git a/.travis.yml b/.travis.yml index 4c94e6e5d8b..0b74c6759cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,6 +48,7 @@ addons: # For newer libkqueue - sourceline: ppa:rjvbertin/misc packages: + - libjson-perl - autoconf - build-essential - clang-7 @@ -114,15 +115,19 @@ services: - redis-server before_install: - rvm --install --default --binary use 2.4 +- gem install asciidoctor +- wget -q -O /tmp/pandoc.deb https://github.com/jgm/pandoc/releases/download/2.7.3/pandoc-2.7.3-1-amd64.deb && sudo dpkg -i /tmp/pandoc.deb - if [ "${CC}" == 'gcc' ]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 && sudo update-alternatives --config gcc; fi - if [ "${CC}" == 'clang' ]; then sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-7 60 && sudo update-alternatives --config clang; fi - if [ "${CC}" == 'clang' ]; then sudo update-alternatives --install /usr/bin/llvm-symbolizer llvm-symbolizer /usr/bin/llvm-symbolizer-7 60 && sudo update-alternatives --config llvm-symbolizer; fi - $CC --version - make --version +- asciidoctor --version +- pandoc --version +- doxygen --version before_script: - ./scripts/travis/build.sh script: - if [ "${DO_BUILD}" = 'yes' -a "${COVERITY_SCAN_BRANCH}" != 1 ]; then make travis-test; fi -- if [ "${DO_BUILD}" = 'no' ]; then cd doc/source; doxygen 3>&1 1>&2 2>&3 | grep -iv - '^warning:' | tee doxygen_stderr.log && [ ! -n "$(cat doxygen_stderr.log)" ]; fi +- if [ "${DO_BUILD}" = 'no' ]; then make tests.doc; fi