Make sure that test failures kill the build

This commit is contained in:
Dylan K. Taylor 2018-06-05 19:49:22 +01:00
parent 9d16863b1a
commit 38f4afb17c

View File

@ -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"