Merge pull request #647 from worktycho/runMCServer
Run mc server in travis
This commit is contained in:
commit
4e4d92ccce
@ -3,7 +3,7 @@ compiler:
|
|||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
# Build MCServer
|
# Build MCServer
|
||||||
script: cmake . -DCMAKE_BUILD_TYPE=RELEASE && make -j 2
|
script: cmake . -DCMAKE_BUILD_TYPE=RELEASE -DSELF_TEST=1 && make -j 2 && cd MCServer/ && (echo stop | ./MCServer)
|
||||||
|
|
||||||
# Notification Settings
|
# Notification Settings
|
||||||
notifications:
|
notifications:
|
||||||
|
@ -124,6 +124,10 @@ endif()
|
|||||||
# The Expat library is linked in statically, make the source files aware of that:
|
# The Expat library is linked in statically, make the source files aware of that:
|
||||||
add_definitions(-DXML_STATIC)
|
add_definitions(-DXML_STATIC)
|
||||||
|
|
||||||
|
# Self Test Mode enables extra checks at startup
|
||||||
|
if(${SELF_TEST})
|
||||||
|
add_definitions(-DSELF_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Declare the flags used for profiling builds:
|
# Declare the flags used for profiling builds:
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
|
Loading…
Reference in New Issue
Block a user