travisqmakegcccpp14doxygen
January 9, 2018 ยท View on GitHub
| Branch | ![]() |
|---|---|
| master |
This GitHub is part of:
The goal of this project is to have a clean Travis CI build, with specs:
- Build system:
qmake - C++ compiler:
gcc - C++ version:
C++14 - Libraries:
STLonly - Code coverage: none
- Documentation:
doxygen - Source: one single file,
main.cpp
More complex builds:
- [none]
Builds of similar complexity:
- [none]
Less complex builds:
- No
doxygen: travis_qmake_gcc_cpp14
External links
How to force documentation
In all cases, the text below must be present in all files, otherwise Doxygen will not check these:
/** @file */
For doxygen 1.8.7, to exit a script with an error code:
doxygen -g > /dev/null; exit `(cat Doxyfile ; echo "QUIET=YES" ; echo "EXCLUDE=README.md") | doxygen - 2>&1 | egrep "warning" | wc --lines`
For doxygen 1.8.13, to exit a script with an error code:
doxygen -g > /dev/null; ( cat Doxyfile ; echo "QUIET=YES"; echo "EXCLUDE=README.md" ; echo "WARN_AS_ERROR=YES") | doxygen -
Thanks to this Stack Overflow post.
