8000 minor #34714 Fix CI (nicolas-grekas) · symfony/symfony@bbda69d · GitHub
[go: up one dir, main page]

Skip to content

Commit bbda69d

Browse files
minor #34714 Fix CI (nicolas-grekas)
This PR was merged into the 4.3 branch. Discussion ---------- Fix CI | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- b9b3fd8 Fix CI
2 parents 53127c5 + b9b3fd8 commit bbda69d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,11 @@ install:
266266
run_tests () {
267267
set -e
268268
export PHP=$1
269+
270+
if [[ !$deps && $PHP = 7.2 ]]; then
271+
tfold src/Symfony/Component/HttpClient.h2push "$COMPOSER_UP symfony/contracts && docker run -it --rm -v $(pwd):/app -v $(phpenv which composer):/usr/local/bin/composer -v /usr/local/bin/vulcain:/usr/local/bin/vulcain -w /app php:7.3-alpine ./phpunit src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php --filter testHttp2Push"
272+
fi
273+
269274
if [[ $PHP != $TRAVIS_PHP_VERSION && $TRAVIS_PULL_REQUEST != false ]]; then
270275
echo -e "\\n\\e[33;1mIntermediate PHP version $PHP is skipped for pull requests.\\e[0m"
271276
return
@@ -283,10 +288,6 @@ install:
283288
echo "$COMPONENTS" | parallel --gnu "tfold {} 'cd {} && ([ -e composer.lock ] && ${COMPOSER_UP/update/install} || $COMPOSER_UP --prefer-lowest --prefer-stable) && $PHPUNIT_X'"
284289
echo "$COMPONENTS" | xargs -n1 -I{} tar --append -f ~/php-ext/composer-lowest.lock.tar {}/composer.lock
285290
else
286-
if [[ $PHP = ${MIN_PHP%.*} ]]; then
287-
tfold src/Symfony/Component/HttpClient.h2push docker run -it --rm -v $(pwd):/app -v /usr/local/bin/vulcain:/usr/local/bin/vulcain -w /app php:7.3-alpine ./phpunit src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php --filter testHttp2Push
288-
fi
289-
290291
echo "$COMPONENTS" | parallel --gnu "tfold {} $PHPUNIT_X {}"
291292
292293
tfold src/Symfony/Component/Console.tty $PHPUNIT --group tty

0 commit comments

Comments
 (0)
0