Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9ba015d

Browse files
[travis] remove cache of composer.lock for deps=low
1 parent 3d1c59a commit 9ba015d

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)