8000 Fix PHP 7.2 tests on master branch · symfony/symfony@42cd630 · GitHub
[go: up one dir, main page]

Skip to content

Commit 42cd630

Browse files
Fix PHP 7.2 tests on master branch
1 parent 8606c15 commit 42cd630

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.travis.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ env:
2020

2121
matrix:
2222
include:
23-
- php: 7.1.3
24-
- php: 7.1
25-
env: deps=high
26-
- php: 7.1
23+
- php: 7.2
2724
env: deps=low
2825
fast_finish: true
2926

@@ -171,11 +168,11 @@ install:
171168
if [[ $skip ]]; then
172169
echo -e "\\n\\e[1;34mIntermediate PHP version $PHP is skipped for pull requests.\\e[0m"
173170
elif [[ $deps = high ]]; then
174-
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'"
171+
echo "$COMPONENTS" | xargs -I{} "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'"
175172
elif [[ $deps = low ]]; then
176-
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP --prefer-lowest --prefer-stable && $PHPUNIT_X'"
173+
echo "$COMPONENTS" | xargs -I{} "tfold {} 'cd {} && $COMPOSER_UP --prefer-lowest --prefer-stable && $PHPUNIT_X'"
177174
else
178-
echo "$COMPONENTS" | parallel --gnu "tfold {} $PHPUNIT_X {}"
175+
echo "$COMPONENTS" | xargs -I{} "tfold {} $PHPUNIT_X {}"
179176
tfold tty-group $PHPUNIT --group tty
180177
if [[ $PHP = $MIN_PHP ]]; then
181178
tfold src/Symfony/Component/Process.sigchild SYMFONY_DEPRECATIONS_HELPER=weak php-$MIN_PHP/sapi/cli/php ./phpunit --colors=always src/Symfony/Component/Process/

0 commit comments

Comments
 (0)
0