|
@@ -462,11 +462,35 @@ if [ "$CC" != "tcc" ]; then
|
|
|
-DUA_ENABLE_PUBSUB=ON \
|
|
|
-DUA_ENABLE_PUBSUB_DELTAFRAMES=ON \
|
|
|
-DUA_ENABLE_PUBSUB_INFORMATIONMODEL=ON \
|
|
|
- -DUA_ENABLE_UNIT_TESTS_MEMCHECK=ON ..
|
|
|
+ -DUA_ENABLE_UNIT_TESTS_MEMCHECK=ON \
|
|
|
+ -DUA_NAMESPACE_ZERO=MINIMAL ..
|
|
|
make -j && make test ARGS="-V"
|
|
|
if [ $? -ne 0 ] ; then exit 1 ; fi
|
|
|
+ cd .. && rm build -rf
|
|
|
echo -en 'travis_fold:end:script.build.unit_test_ns0_minimal\\r'
|
|
|
|
|
|
+ echo -e "\r\n== Unit tests (reduced NS0) ==" && echo -en 'travis_fold:start:script.build.unit_test_ns0_reduced\\r'
|
|
|
+ mkdir -p build && cd build
|
|
|
+ cmake \
|
|
|
+ -DCMAKE_BUILD_TYPE=Debug \
|
|
|
+ -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
|
|
|
+ -DUA_BUILD_EXAMPLES=ON \
|
|
|
+ -DUA_BUILD_UNIT_TESTS=ON \
|
|
|
+ -DUA_ENABLE_COVERAGE=ON \
|
|
|
+ -DUA_ENABLE_DA=ON \
|
|
|
+ -DUA_ENABLE_DISCOVERY=ON \
|
|
|
+ -DUA_ENABLE_DISCOVERY_MULTICAST=ON \
|
|
|
+ -DUA_ENABLE_ENCRYPTION=ON \
|
|
|
+ -DUA_ENABLE_JSON_ENCODING=ON \
|
|
|
+ -DUA_ENABLE_PUBSUB=ON \
|
|
|
+ -DUA_ENABLE_PUBSUB_DELTAFRAMES=ON \
|
|
|
+ -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=ON \
|
|
|
+ -DUA_ENABLE_UNIT_TESTS_MEMCHECK=ON \
|
|
|
+ -DUA_NAMESPACE_ZERO=REDUCED ..
|
|
|
+ make -j && make test ARGS="-V"
|
|
|
+ if [ $? -ne 0 ] ; then exit 1 ; fi
|
|
|
+ echo -en 'travis_fold:end:script.build.unit_test_ns0_reduced\\r'
|
|
|
+
|
|
|
|
|
|
|
|
|
echo -e "\r\n== -> Current repo: ${TRAVIS_REPO_SLUG} =="
|