2019-09-15 16:28:01 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -Eeuxo pipefail
|
|
|
|
|
2019-02-03 15:50:13 +01:00
|
|
|
composer install --working-dir=$1/test/app1 --quiet || exit 1
|
2019-02-26 01:32:55 +01:00
|
|
|
composer install --working-dir=$1/test/app2 --quiet || exit 1
|
2019-02-03 15:50:13 +01:00
|
|
|
composer install --working-dir=$1 --quiet || exit 1
|
2018-09-03 23:53:13 +02:00
|
|
|
php --version
|
2019-02-26 03:11:00 +01:00
|
|
|
php $1/vendor/bin/phpunit --testsuite all
|
2019-07-14 17:07:32 +02:00
|
|
|
php $1/vendor/bin/phpunit --testsuite noAutoload
|
2019-09-15 16:28:01 +02:00
|
|
|
php -d disable_functions=exec ./vendor/phpunit/phpunit/phpunit ./test/app1/src/ClassFinderTest.php --filter=testWorksWhenExecIsDisabled
|