[A] Added doc build
This commit is contained in:
parent
7bbc3e62ee
commit
5115d40ad6
16
.travis.yml
16
.travis.yml
@ -67,7 +67,7 @@ matrix:
|
|||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources: ['ubuntu-toolchain-r-test']
|
sources: ['ubuntu-toolchain-r-test']
|
||||||
packages: ['g++-8', 'cppcheck']
|
packages: ['g++-8', 'cppcheck', 'doxygen']
|
||||||
|
|
||||||
# OSX / Clang
|
# OSX / Clang
|
||||||
- os: osx
|
- os: osx
|
||||||
@ -110,6 +110,14 @@ script:
|
|||||||
cppcheck --std=c++11 --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib
|
cppcheck --std=c++11 --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib
|
||||||
fi
|
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
|
# Print all environment variables to aid in CI development
|
||||||
- printenv
|
- printenv
|
||||||
# Print version and available CMake generators to aid in CI development
|
# Print version and available CMake generators to aid in CI development
|
||||||
@ -186,12 +194,6 @@ script:
|
|||||||
scan-build make ;
|
scan-build make ;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build docs
|
|
||||||
- cd ..
|
|
||||||
- cd docs
|
|
||||||
- make doxygen
|
|
||||||
|
|
||||||
|
|
||||||
# Build for coveralls (should be the last)
|
# Build for coveralls (should be the last)
|
||||||
- |
|
- |
|
||||||
if [ "${CC}" = 'gcc' ]; then
|
if [ "${CC}" = 'gcc' ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user