15 - BUILD_SYSTEM="autotools" CONFIGURE_OPTS=
16 - BUILD_SYSTEM="autotools" CONFIGURE_OPTS=--enable-64-bit-words
17 - BUILD_SYSTEM="cmake" CONFIGURE_OPTS=
18 - BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DENABLE_64_BIT_WORDS=ON
20 - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -y install libtool-bin libogg-dev doxygen libxml2-utils w3c-sgml-lib; fi
21 - if [ $TRAVIS_OS_NAME = osx ]; then brew install libogg; fi
24 - if [[ "${BUILD_SYSTEM}" == "autotools" ]]; then ./autogen.sh && ./configure $CONFIGURE_OPTS && make && make check; fi
25 - if [[ "${BUILD_SYSTEM}" == "cmake" ]]; then mkdir cmake-build && cd cmake-build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON $CONFIGURE_OPTS && cmake --build . && ctest -V; fi
26 - if [ $TRAVIS_OS_NAME = linux ] && [ ${BUILD_SYSTEM} = "autotools" ]; then
27 xmllint --valid --noout doc/html/*.html;
28 xmllint --valid --noout doc/html/api/*.html;