build doxygen

This commit is contained in:
Milo Yip 2014-07-08 00:20:10 +08:00
parent 1f655cb48e
commit 4a49c5eff6
2 changed files with 18 additions and 2 deletions

View File

@ -28,6 +28,6 @@ script:
# - valgrind --leak-check=full --error-exitcode=1 ./unittest_${config_suffix}
# - ./perftest_${config_suffix}
after_script:
after_success :
- cd "${TRAVIS_BUILD_DIR}"
- doxygen build/Doxyfile
- build/travis_doxygen.sh

16
build/travis_doxygen.sh Normal file
View File

@ -0,0 +1,16 @@
#!/bin/sh
if ["${config}"="release64" && "$CC"="clang"] then exit 0 fi
cd /tmp
git clone https://github.com/doxygen/doxygen.git
cd doxygen
./configure
make
make distclean
git pull
./configure
make
make install
cd "${TRAVIS_BUILD_DIR}
doxygen build/Doxyfile