Updated travis-ci.

Use container based build `sudo: false`.
This commit is contained in:
Takatoshi Kondo
2017-01-05 21:47:30 +09:00
parent 4623654996
commit 4466bda819
5 changed files with 199 additions and 94 deletions

View File

@@ -6,9 +6,14 @@ IF (MSGPACK_CXX11)
LIST (APPEND exec_PROGRAMS
container.cpp
non_def_con_class.cpp
socket_stream_example.cpp
)
IF ("${MSGPACK_DEFAULT_API_VERSION}" GREATER "1")
LIST (APPEND exec_PROGRAMS
socket_stream_example.cpp
)
ENDIF ()
FOREACH (source_file ${exec_PROGRAMS})
GET_FILENAME_COMPONENT (source_file_we ${source_file} NAME_WE)
ADD_EXECUTABLE (