add travis testing (gcc5, clang36)

- also relaxed CMake version to 2.8.7, the version default in travis
This commit is contained in:
Tamas Kenez committed 2015-09-23 17:43:36 +02:00
1 parent 186001611a
commit 9b454b7a9b
4 files changed
+84 -17

No files matched your search

+5 -5
View File
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.2.2)
cmake_minimum_required(VERSION 2.8.7)
project(GSLTests)
project(GSLTests CXX)
add_subdirectory(unittest-cpp)
@@ -23,7 +23,7 @@ else()
elseif(COMPILER_SUPPORTS_CXX11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
else()
message(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.")
message(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.")
endif()
endif()
@@ -38,8 +38,8 @@ function(add_gsl_test name)
RUNTIME DESTINATION bin
)
add_test(
NAME ${name}
COMMAND ${name}
${name}
${name}
)
endfunction()