mirror of
https://github.com/danog/class-finder.git
synced 2024-11-26 20:14:59 +01:00
Put everything back into the preexisting scripts
This commit is contained in:
parent
f2f734b409
commit
e84a97444f
@ -4,8 +4,4 @@ PHP 5.3 - PHPUnit:
|
||||
|
||||
PHP 7.2 - PHPUnit:
|
||||
script: "ci/php72.sh $CI_PROJECT_DIR"
|
||||
image: "registry.gitlab.com/hpierce1102/classfinder/php72"
|
||||
|
||||
PHP 7.2 - No Autoloader Property:
|
||||
script: "ci/php72-no-autoload.sh $CI_PROJECT_DIR"
|
||||
image: "registry.gitlab.com/hpierce1102/classfinder/php72"
|
@ -2,4 +2,5 @@ composer install --working-dir=$1/test/app1 --quiet || exit 1
|
||||
composer install --working-dir=$1/test/app2 --quiet || exit 1
|
||||
composer install --working-dir=$1 --quiet || exit 1
|
||||
php --version
|
||||
php $1/vendor/bin/phpunit --testsuite all
|
||||
php $1/vendor/bin/phpunit --testsuite all
|
||||
php $1/vendor/bin/phpunit --testsuite noAutoload
|
@ -1,5 +0,0 @@
|
||||
composer install --working-dir=$1/test/app1 --quiet || exit 1
|
||||
composer install --working-dir=$1/test/app2 --quiet || exit 1
|
||||
composer install --working-dir=$1 --quiet || exit 1
|
||||
php --version
|
||||
php $1/vendor/bin/phpunit --testsuite noAutoload
|
@ -2,4 +2,5 @@ composer install --working-dir=$1/test/app1 --quiet || exit 1
|
||||
composer install --working-dir=$1/test/app2 --quiet || exit 1
|
||||
composer install --working-dir=$1 --quiet || exit 1
|
||||
php --version
|
||||
php $1/vendor/bin/phpunit --testsuite all
|
||||
php $1/vendor/bin/phpunit --testsuite all
|
||||
php $1/vendor/bin/phpunit --testsuite noAutoload
|
@ -8,11 +8,6 @@ use HaydenPierce\ClassFinder\ClassFinder;
|
||||
|
||||
class PSR4NoAutoloadTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public static function setupBeforeClass()
|
||||
{
|
||||
var_dump(file_get_contents(__DIR__ . '/composer.json'));
|
||||
}
|
||||
|
||||
public function setup()
|
||||
{
|
||||
// Reset ClassFinder back to normal.
|
||||
|
Loading…
Reference in New Issue
Block a user