File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,11 @@ install:
221
221
([[ $deps ]] && cd src/Symfony/Component/HttpFoundation; composer config platform.ext-mongodb 1.5.0; composer require --dev --no-update mongodb/mongodb)
222
222
fi
223
223
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
225
229
if [[ $deps = high ]]; then
226
230
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'"
227
231
elif [[ $deps = low ]]; then
You can’t perform that action at this time.
0 commit comments