Skip to content

Commit

Permalink
Forcefully kill all child processes on Windows at end
Browse files Browse the repository at this point in the history
  • Loading branch information
polytypic committed Sep 7, 2019
1 parent 278b19f commit 23c71d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions travis-ci
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ if [ "$TRAVIS_OS_NAME" = windows ]; then
for CONFIG in Debug Release; do
CMAKE_BUILD_TYPE=$CONFIG CC='' CXX='' CMAKE_GENERATOR="Visual Studio 16 2019" folded "VC2019 $CONFIG" cppsm test
done

# shellcheck disable=2009,2046
kill -9 $(ps | grep -o "^ *[0-9]\\+ *$$ " | sed -e 's#^ *##g' -e 's# .*##g') 2>/dev/null || true
fi

code-coverage() {
Expand Down

0 comments on commit 23c71d5

Please sign in to comment.