Skip to content

Commit

Permalink
Cleanup travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
Pro committed Sep 8, 2017
1 parent 413a48d commit ec1ce29
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tools/travis/travis_linux_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ if [ $ANALYZE = "true" ]; then
if [ -s cppcheck.txt ]; then
echo "====== CPPCHECK Static Analysis Errors ======"
cat cppcheck.txt
# flush output
sleep 5
exit 1
fi
fi
Expand Down Expand Up @@ -198,13 +200,6 @@ else
if [ $? -ne 0 ] ; then exit 1 ; fi
echo -en 'travis_fold:end:script.build.unit_test_valgrind\\r'

# without valgrind
# echo -e "\r\n== Debug build and unit tests without valgrind ==" && echo -en 'travis_fold:start:script.build.unit_test\\r'
# cmake -DCMAKE_BUILD_TYPE=Debug -DUA_BUILD_EXAMPLES=ON -DUA_ENABLE_DISCOVERY=ON -DUA_ENABLE_DISCOVERY_MULTICAST=ON -DUA_BUILD_UNIT_TESTS=ON -DUA_ENABLE_COVERAGE=ON -DUA_ENABLE_VALGRIND_UNIT_TESTS=OFF ..
# make -j && make test ARGS="-V"
# (./bin/examples/server & export pid=$!; sleep 2; kill -INT $pid; wait $pid);
# echo -en 'travis_fold:end:script.build.unit_test\\r'

# only run coveralls on main repo, otherwise it fails uploading the files
echo -e "\r\n== -> Current repo: ${TRAVIS_REPO_SLUG} =="
if [ "$CC" = "gcc" ] && [ "${TRAVIS_REPO_SLUG}" = "open62541/open62541" ]; then
Expand Down

0 comments on commit ec1ce29

Please sign in to comment.