[A] Added doc build

This commit is contained in:
seleznevae 2018-11-26 22:49:41 +03:00
parent 7bbc3e62ee
commit 5115d40ad6

View File

@ -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