Update .travis.yml to generate doxygen

This commit is contained in:
Soonho Kong 2013-07-24 05:24:22 -07:00
parent fc27c4af89
commit 913b107449

View file

@ -5,6 +5,7 @@ env:
- CMAKE_CXX_COMPILER=clang++-3.3
CMAKE_BUILD_TYPE=DEBUG
USE_TCMALLOC=TRUE
BUILD_DOXYGEN=TRUE
- CMAKE_CXX_COMPILER=g++-4.8
CMAKE_BUILD_TYPE=DEBUG
USE_TCMALLOC=TRUE
@ -35,9 +36,9 @@ before_script:
script:
- make
- ctest -T test -VV
- cd ..; if [[ $BUILD_DOXYGEN == TRUE ]]; then sudo apt-get -qq install doxygen graphviz; doxygen src/Doxyfile; COMMIT_LOG=`git log --oneline -n 1`; git config user.email "soonhok@cs.cmu.edu"; git config user.name "Soonho Kong"; git checkout -B gh-pages gh-pages; git add -A doc; git commit -m "Update doxygen - $COMMIT_LOG"; git push origin gh-pages; git checkout master; fi
install:
-
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository --yes ppa:h-rayflood/llvm
- sudo apt-get -qq update