8000 minor #40559 [travis] remove cache of composer.lock for deps=low (nic… · symfony/symfony@55637fb · GitHub
[go: up one dir, main page]

Skip to content

Commit 55637fb

Browse files
minor #40559 [travis] remove cache of composer.lock for deps=low (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- [travis] remove cache of composer.lock for deps=low | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Let's hope that Composer 2 made this fast enough. Maintaining this script might not be worth it anymore. Reverts #28146 Commits ------- 9ba015d [travis] remove cache of composer.lock for deps=low
2 parents d158d22 + 9ba015d commit 55637fb

File tree

2 files changed

+1
-169
lines changed

2 files changed

+1
-169
lines changed

.github/rm-invalid-lowest-lock-files.php

Lines changed: 0 additions & 164 deletions
This file was deleted.

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,7 @@ install:
279279
280280
[[ ! $X ]] || (exit 1)
281281
elif [[ $deps = low ]]; then
282-
[[ -e ~/php-ext/composer-lowest.lock.tar ]] && tar -xf ~/php-ext/composer-lowest.lock.tar
283-
tar -cf ~/php-ext/composer-lowest.lock.tar --files-from /dev/null
284-
php .github/rm-invalid-lowest-lock-files.php $COMPONENTS
285-
echo "$COMPONENTS" | parallel --gnu "tfold {} 'cd {} && ([ -e composer.lock ] && ${COMPOSER_UP/update/install} || $COMPOSER_UP --prefer-lowest --prefer-stable) && $PHPUNIT_X'"
286-
echo "$COMPONENTS" | xargs -n1 -I{} tar --append -f ~/php-ext/composer-lowest.lock.tar {}/composer.lock
282+
echo "$COMPONENTS" | parallel --gnu "tfold {} 'cd {} && $COMPOSER_UP --prefer-lowest --prefer-stable && $PHPUNIT_X'"
287283
else
288284
if [[ $PHP = 8.0* ]]; then
289285
# add return types before running the test suite

0 commit comments

Comments
 (0)
0