Skip to content

Commit 4623fe7

Browse files
[travis] disable symfony/flex during phpunit install
1 parent a8b1605 commit 4623fe7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,11 @@ install:
221221
([[ $deps ]] && cd src/Symfony/Component/HttpFoundation; composer config platform.ext-mongodb 1.5.0; composer require --dev --no-update mongodb/mongodb)
222222
fi
223223
tfold 'composer update' $COMPOSER_UP
224-
tfold 'phpunit install' ./phpunit install
224+
if [[ $TRAVIS_PHP_VERSION = 5.* || $TRAVIS_PHP_VERSION = hhvm* ]]; then
225+
tfold 'phpunit install' 'composer global remove symfony/flex && ./phpunit install && composer global require --no-progress --no-scripts --no-plugins symfony/flex dev-master'
226+
else
227+
tfold 'phpunit install' ./phpunit install
228+
fi
225229
if [[ $deps = high ]]; then
226230
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'"
227231
elif [[ $deps = low ]]; then

0 commit comments

Comments
 (0)