File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,10 @@ install:
216
216
if [[ $deps = high ]]; then
217
217
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'"
218
218
elif [[ $deps = low ]]; then
219
- echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP --prefer-lowest --prefer-stable && $PHPUNIT_X'"
219
+ [[ -e ~/php-ext/composer-lowest.lock.tar ]] && tar -xf ~/php-ext/composer-lowest.lock.tar
220
+ tar -cf ~/php-ext/composer-lowest.lock.tar --files-from /dev/null
221
+ echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && ([ -e composer.lock ] && composer validate && composer install --no-progress --no-suggest --ansi || $COMPOSER_UP --prefer-lowest --prefer-stable) && $PHPUNIT_X'"
222
+ echo "$COMPONENTS" | xargs -n1 -I{} tar --append -f ~/php-ext/composer-lowest.lock.tar {}/composer.lock
220
223
elif [[ $PHP = hhvm* ]]; then
221
224
$PHPUNIT --exclude-group no-hhvm,benchmark,intl-data
222
225
else
You can’t perform that action at this time.
0 commit comments