Fixed Travis CI build

- removed Doxygen from the Travis build
This commit is contained in:
Sébastien Rombauts 2014-02-07 19:57:55 +01:00
parent e7aa4f46bb
commit c823017724

View File

@ -93,11 +93,17 @@ endif()
option(SQLITECPP_RUN_DOXYGEN "Run Doxygen C++ documentation tool." ON) option(SQLITECPP_RUN_DOXYGEN "Run Doxygen C++ documentation tool." ON)
if (SQLITECPP_RUN_DOXYGEN) if (SQLITECPP_RUN_DOXYGEN)
# add a Doxygen target to the "all" target # add a Doxygen target to the "all" target
if (NOT DEFINED ENV{TRAVIS})
# if not runing on a Travis CI Virtual Machine
add_custom_target(SQLiteCpp_doxygen add_custom_target(SQLiteCpp_doxygen
ALL ALL
COMMAND doxygen Doxyfile > ${DEV_NULL} COMMAND doxygen Doxyfile > ${DEV_NULL}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
) )
else()
# but no Doxygen under Travis CI: too costly and no real benefit
message("no Doxygen target when TRAVIS is defined")
endif()
endif() endif()
option(SQLITECPP_RUN_TESTS "Run test tools." ON) option(SQLITECPP_RUN_TESTS "Run test tools." ON)