File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -272,15 +272,16 @@ install:
272
272
273
273
if [[ $COMPONENTS && $LEGACY && $TRAVIS_PULL_REQUEST != false ]]; then
274
274
export FLIP='🙃'
275
- COMPONENTS=$(echo "$COMPONENTS" | xargs dirname | sort)
276
275
SYMFONY_VERSION=$(echo $SYMFONY_VERSION | awk '{print $1 - 1}')
276
+ echo -e "\\n\\e[33;1mChecking out Symfony $SYMFONY_VERSION and running tests with patched components as deps\\e[0m"
277
277
export SYMFONY_REQUIRE=">=$SYMFONY_VERSION"
278
278
export COMPOSER_ROOT_VERSION=$SYMFONY_VERSION.x-dev
279
- echo -e "\\n\\e[33;1mChecking out Symfony $SYMFONY_VERSION and running tests with patched components as deps\\e[0m"
280
279
git fetch --depth=2 origin $SYMFONY_VERSION
281
280
git checkout -m FETCH_HEAD
281
+ COMPONENTS=$(echo "$COMPONENTS" | xargs dirname | xargs -n1 -I{} bash -c "[ -e '{}/phpunit.xml.dist' ] && echo '{}'" | sort)
282
282
(cd src/Symfony/Component/HttpFoundation; composer config platform.ext-mongodb 1.6.0; composer require --dev --no-update mongodb/mongodb)
283
- echo "$COMPONENTS" | parallel --gnu "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'" || X=1
283
+ [[ ! $COMPONENTS ]] || tfold 'phpunit install' SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1 ./phpunit install
284
+ [[ ! $COMPONENTS ]] || echo "$COMPONENTS" | parallel --gnu "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'" || X=1
284
285
fi
285
286
286
287
[[ ! $X ]] || (exit 1)
You can’t perform that action at this time.
0 commit comments