Skip to content

Commit d72381e

Browse files
committed
attempt to properly shutdown
1 parent 5cd5c77 commit d72381e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ script:
1616
- phpunit --configuration ./tests/phpunit.xml
1717

1818
after_script:
19-
- killall -9 arangod || true
19+
- ./tests/travis/teardown_arangodb.sh

tests/travis/teardown_arangodb.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
ARCH=$(arch)
3+
if [ "$ARCH" == "x86_64" ]; then
4+
ARANGOD="arangod_x86_64"
5+
else
6+
ARANGOD="arangod"
7+
fi
8+
echo "killing arangod binary ${ARANGOD}"
9+
killall -9 "${ARANGOD}" || true

0 commit comments

Comments
 (0)