|
@@ -436,26 +436,6 @@ if [ $? -ne 0 ] ; then exit 1 ; fi
|
|
cd .. && rm build -rf
|
|
cd .. && rm build -rf
|
|
echo -en 'travis_fold:end:script.build.unit_test_ns0_full\\r'
|
|
echo -en 'travis_fold:end:script.build.unit_test_ns0_full\\r'
|
|
|
|
|
|
-if ! [ -z ${DEBIAN+x} ]; then
|
|
|
|
- echo -e "\r\n== Building the Debian package ==" && echo -en 'travis_fold:start:script.build.debian\\r'
|
|
|
|
- /usr/bin/$PYTHON ./tools/prepare_packaging.py
|
|
|
|
- echo -e "\r\n --- New debian changelog content ---"
|
|
|
|
- echo "--------------------------------------"
|
|
|
|
- cat ./debian/changelog
|
|
|
|
- echo "--------------------------------------"
|
|
|
|
- # Create a backup copy. We need the clean debian directory for later packaging
|
|
|
|
- cp -r debian debian_bak
|
|
|
|
- dpkg-buildpackage -b
|
|
|
|
- if [ $? -ne 0 ] ; then exit 1 ; fi
|
|
|
|
- rm -rf debian
|
|
|
|
- mv debian_bak debian
|
|
|
|
- cp ../libopen62541*.deb .
|
|
|
|
- # Copy for github release script
|
|
|
|
- cp ../libopen62541*.deb ../..
|
|
|
|
- echo -en 'travis_fold:end:script.build.debian\\r'
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-
|
|
|
|
if [ "$CC" != "tcc" ]; then
|
|
if [ "$CC" != "tcc" ]; then
|
|
echo -e "\r\n== Unit tests (minimal NS0) ==" && echo -en 'travis_fold:start:script.build.unit_test_ns0_minimal\\r'
|
|
echo -e "\r\n== Unit tests (minimal NS0) ==" && echo -en 'travis_fold:start:script.build.unit_test_ns0_minimal\\r'
|
|
mkdir -p build && cd build
|
|
mkdir -p build && cd build
|
|
@@ -531,6 +511,12 @@ if [ "$CC" != "tcc" ]; then
|
|
# The submodules are directly copied
|
|
# The submodules are directly copied
|
|
echo -e "\r\n== Pushing 'pack/${REAL_BRANCH}' branch ==" && echo -en 'travis_fold:start:script.build.pack-branch\\r'
|
|
echo -e "\r\n== Pushing 'pack/${REAL_BRANCH}' branch ==" && echo -en 'travis_fold:start:script.build.pack-branch\\r'
|
|
|
|
|
|
|
|
+ /usr/bin/$PYTHON ./tools/prepare_packaging.py
|
|
|
|
+ echo -e "--- New debian changelog content ---"
|
|
|
|
+ echo "--------------------------------------"
|
|
|
|
+ cat ./debian/changelog
|
|
|
|
+ echo "--------------------------------------"
|
|
|
|
+
|
|
git checkout -b pack-tmp/${REAL_BRANCH}
|
|
git checkout -b pack-tmp/${REAL_BRANCH}
|
|
cp -r deps/mdnsd deps/mdnsd_back
|
|
cp -r deps/mdnsd deps/mdnsd_back
|
|
cp -r deps/ua-nodeset deps/ua-nodeset_back
|
|
cp -r deps/ua-nodeset deps/ua-nodeset_back
|