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