mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Make sure that test failures kill the build
This commit is contained in:
parent
9d16863b1a
commit
38f4afb17c
@ -23,7 +23,7 @@ fi
|
||||
|
||||
#Run PHPUnit tests
|
||||
curl https://phar.phpunit.de/phpunit-7.phar --silent --location -o phpunit.phar
|
||||
"$PHP_BINARY" phpunit.phar --bootstrap vendor/autoload.php tests/phpunit
|
||||
"$PHP_BINARY" phpunit.phar --bootstrap vendor/autoload.php tests/phpunit || exit 1
|
||||
|
||||
#Run-the-server tests
|
||||
DATA_DIR="test_data"
|
||||
|
Loading…
x
Reference in New Issue
Block a user