|
@@ -63,7 +63,7 @@ make
|
|
cd .. && rm build -rf && mkdir -p build && cd build
|
|
cd .. && rm build -rf && mkdir -p build && cd build
|
|
echo "Debug build and unit tests (64 bit)"
|
|
echo "Debug build and unit tests (64 bit)"
|
|
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_DEMO_NODESET=ON -DBUILD_UNIT_TESTS=ON -DBUILD_EXAMPLESERVER=ON -DENABLE_COVERAGE=ON ..
|
|
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_DEMO_NODESET=ON -DBUILD_UNIT_TESTS=ON -DBUILD_EXAMPLESERVER=ON -DENABLE_COVERAGE=ON ..
|
|
-make && make test
|
|
|
|
|
|
+make && make test ARGS="-V"
|
|
echo "Run valgrind to see if the server leaks memory (just starting up and closing..)"
|
|
echo "Run valgrind to see if the server leaks memory (just starting up and closing..)"
|
|
if [[ ! ( ${TRAVIS_OS_NAME} == "linux" && ${CC} == "clang") ]]; then
|
|
if [[ ! ( ${TRAVIS_OS_NAME} == "linux" && ${CC} == "clang") ]]; then
|
|
(valgrind --error-exitcode=3 ./server & export pid=$!; sleep 2; kill -INT $pid; wait $pid);
|
|
(valgrind --error-exitcode=3 ./server & export pid=$!; sleep 2; kill -INT $pid; wait $pid);
|