From 5115d40ad64a562937e0a46b8ff1f435b683b94e Mon Sep 17 00:00:00 2001 From: seleznevae Date: Mon, 26 Nov 2018 22:49:41 +0300 Subject: [PATCH] [A] Added doc build --- .travis.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9862398..75acfb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,7 +67,7 @@ matrix: addons: apt: sources: ['ubuntu-toolchain-r-test'] - packages: ['g++-8', 'cppcheck'] + packages: ['g++-8', 'cppcheck', 'doxygen'] # OSX / Clang - os: osx @@ -110,6 +110,14 @@ script: cppcheck --std=c++11 --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib fi + # doxygen run + - | + if [ "${FORT_C_COMPILER}" = "gcc-8" ]; then + cd docs + make doxygen + cd .. + fi + # Print all environment variables to aid in CI development - printenv # Print version and available CMake generators to aid in CI development @@ -186,12 +194,6 @@ script: scan-build make ; fi - # Build docs - - cd .. - - cd docs - - make doxygen - - # Build for coveralls (should be the last) - | if [ "${CC}" = 'gcc' ]; then