[travis] fix requiring mongodb/mongodb before composer up
This commit is contained in:
parent
548e9f71b7
commit
fa4d95a3ba
|
@ -208,11 +208,11 @@ install:
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
phpenv global ${PHP/hhvm*/hhvm}
|
phpenv global ${PHP/hhvm*/hhvm}
|
||||||
tfold 'composer update' $COMPOSER_UP
|
|
||||||
tfold 'phpunit install' ./phpunit install
|
|
||||||
if [[ $PHP = 7.* ]]; then
|
if [[ $PHP = 7.* ]]; then
|
||||||
([[ $deps ]] && cd src/Symfony/Component/HttpFoundation; composer require --dev --no-update mongodb/mongodb)
|
([[ $deps ]] && cd src/Symfony/Component/HttpFoundation; composer require --dev --no-update mongodb/mongodb)
|
||||||
fi
|
fi
|
||||||
|
tfold 'composer update' $COMPOSER_UP
|
||||||
|
tfold 'phpunit install' ./phpunit install
|
||||||
if [[ $deps = high ]]; then
|
if [[ $deps = high ]]; then
|
||||||
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'"
|
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'"
|
||||||
elif [[ $deps = low ]]; then
|
elif [[ $deps = low ]]; then
|
||||||
|
|
Reference in New Issue