Skip to content

Commit

Permalink
Update doxygen of travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Jul 3, 2020
1 parent f84f419 commit 06386f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
11 changes: 4 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ matrix:
- os: linux
dist: bionic
sudo: required
env: USE_CC=doxygen USE_CXX=doxygen PANDOC_BIN=$PANDOC_PREFIX/bin/pandoc DOXYGEN_BIN=doxygen CMAKE_BIN=$CMAKE_PREFIX/bin/cmake # DOXYGEN_BIN=$DOXYGEN_PREFIX/bin/doxygen
env: USE_CC=doxygen USE_CXX=doxygen PANDOC_BIN=$PANDOC_PREFIX/bin/pandoc CMAKE_BIN=$CMAKE_PREFIX/bin/cmake
addons:
apt:
sources:
Expand All @@ -82,20 +82,17 @@ matrix:
echo "$CMAKE_BIN .. -DLIBCOPP_FCONTEXT_USE_TSX=ON -DPROJECT_ENABLE_UNITTEST=ON -DPROJECT_ENABLE_SAMPLE=ON" ;
$CMAKE_BIN .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIBCOPP_FCONTEXT_USE_TSX=ON -DPROJECT_ENABLE_UNITTEST=ON -DPROJECT_ENABLE_SAMPLE=ON ;
cd "$REPO_DIR/docs";
export PATH="$HOME/.local/bin:$PATH" ;
export PATH="$HOME/.local/bin:$DOXYGEN_PREFIX/bin:$PATH" ;
python3 -m pip install --user --upgrade pip;
python3 -m pip install --user --upgrade -r requirements.txt;
if [[ "doxygen" != "$DOXYGEN_BIN" ]] && [[ ! -e "$DOXYGEN_BIN" ]]; then
if [[ ! -e "$DOXYGEN_PREFIX/bin/doxygen" ]]; then
mkdir -p "$DOXYGEN_PREFIX";
curl --insecure -L "$DOXYGEN_LINUX_URL" -o doxygen.linux.bin.tar.gz ;
tar -axvf doxygen.linux.bin.tar.gz ;
DOXYGEN_DIR=$(ls -d doxygen-* | grep -v grep | grep -v ".tar.gz");
cp -rf $DOXYGEN_DIR/* "$DOXYGEN_PREFIX";
fi
if [[ -e doxygen/html ]]; then
rm -rf doxygen/html;
fi
$DOXYGEN_BIN libcopp.doxyfile;
doxygen libcopp.doxyfile;
sphinx-build -b html -a -D breathe_projects.libcopp=doxygen/xml sphinx output;
if [[ -e "output/doxygen/html" ]]; then
rm -rf "output/doxygen/html";
Expand Down
8 changes: 5 additions & 3 deletions docs/libcopp.doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,10 @@ RECURSIVE = YES
# Note that relative paths are relative to the directory from which doxygen is
# run.

EXCLUDE = ../docs/sphinx \
../build
EXCLUDE = sphinx \
../docs/sphinx \
../build \
../build_for_doxygen


# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
Expand All @@ -838,7 +840,7 @@ EXCLUDE_SYMLINKS = NO
# Note that the wildcards are matched against the file with absolute path, so to
# exclude all test directories for example use the pattern */test/*

EXCLUDE_PATTERNS = ../build*
EXCLUDE_PATTERNS = */build*/*

# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
# (namespaces, classes, functions, etc.) that should be excluded from the
Expand Down

0 comments on commit 06386f7

Please sign in to comment.