Skip to content

Commit

Permalink
install asciidoctor, pandoc, and build all docs
Browse files Browse the repository at this point in the history
not just doxygen
  • Loading branch information
alandekok committed Aug 2, 2019
1 parent 63771a6 commit bbdbe84
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Expand Up @@ -48,6 +48,7 @@ addons:
# For newer libkqueue
- sourceline: ppa:rjvbertin/misc
packages:
- libjson-perl
- autoconf
- build-essential
- clang-7
Expand Down Expand Up @@ -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

0 comments on commit bbdbe84

Please sign in to comment.