Return test script status.

This commit is contained in:
sc0Vu 2018-03-19 10:08:58 +08:00
parent 378e1ec906
commit 209baec4b7

View File

@ -7,6 +7,9 @@ echo "Start ganache-cli pid: $ganachecli_pid and sleep 3 seconds"
sleep 3 sleep 3
vendor/bin/phpunit --coverage-clover=coverage.xml vendor/bin/phpunit --coverage-clover=coverage.xml
ret=$?
kill -9 $ganachecli_pid kill -9 $ganachecli_pid
echo "Kill ganache-cli" echo "Kill ganache-cli"
return $ret