Skip to content

Commit ed77b94

Browse files
committed
Try to forcefully kill all child processes on Windows
1 parent 278b19f commit ed77b94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

travis-ci

+3
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ if [ "$TRAVIS_OS_NAME" = windows ]; then
111111
for CONFIG in Debug Release; do
112112
CMAKE_BUILD_TYPE=$CONFIG CC='' CXX='' CMAKE_GENERATOR="Visual Studio 16 2019" folded "VC2019 $CONFIG" cppsm test
113113
done
114+
115+
# shellcheck disable=2009,2046
116+
kill -9 $(ps | grep -o "^ *[0-9]\\+ *$$ " | sed -e 's#^ *##g' -e 's# .*##g') 2>/dev/null || true
114117
fi
115118

116119
code-coverage() {

0 commit comments

Comments
 (0)