Commit 978e8987 authored by Rashad Kanavath's avatar Rashad Kanavath

TRAVIS: enable ccache

parent 5aecc929
......@@ -6,6 +6,6 @@ dist: trusty
compiler:
- clang
cache: false
cache: ccache
script: Utilities/Maintenance/TravisBuild.sh
......@@ -36,6 +36,11 @@ set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 1000)
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 300)
#set(CTEST_BUILD_FLAGS -j2)
macro(do_submit)
ctest_submit()
return()
endmacro()
message(STATUS "CTEST_SOURCE_DIRECTORY: ${CTEST_SOURCE_DIRECTORY}")
message(STATUS "CTEST_BINARY_DIRECTORY: ${CTEST_BINARY_DIRECTORY}")
......@@ -85,15 +90,8 @@ if(NOT _build_rv EQUAL 0)
do_submit()
endif ()
#ctest_test with extra verbose is annoying in travis build log.
#Afer all these are unit-test without much revelent extra verbose output
execute_process(COMMAND ${CTEST_COMMAND} "-R" "Tu" "."
WORKING_DIRECTORY "${CTEST_BINARY_DIRECTORY}"
)
do_submit()
macro(do_submit)
ctest_submit()
return()
endmacro()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment