1
0
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:
Hayden Pierce 2019-02-25 20:11:00 -06:00
parent f2f734b409
commit e84a97444f
5 changed files with 4 additions and 16 deletions

View File

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

View File

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

View File

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

View File

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

View File

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