diff --git a/.travis.yml b/.travis.yml index a5f956529..9a15e9a90 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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