8000 Fix CI · symfony/symfony@6bb693a · GitHub
[go: up one dir, main page]

Skip to content

Commit 6bb693a

Browse files
8000
Fix CI
1 parent 53127c5 commit 6bb693a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,12 @@ install:
266266
run_tests () {
267267
set -e
268268
export PHP=$1
269+
270+
if [[ !$deps && $PHP = 7.2 ]]; then
271+
$COMPOSER_UP symfony/contracts
272+
tfold src/Symfony/Component/HttpClient.h2push 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
273+
fi
274+
269275
if [[ $PHP != $TRAVIS_PHP_VERSION && $TRAVIS_PULL_REQUEST != false ]]; then
270276
echo -e "\\n\\e[33;1mIntermediate PHP version $PHP is skipped for pull requests.\\e[0m"
271277
return
@@ -283,10 +289,6 @@ install:
283289
echo "$COMPONENTS" | parallel --gnu "tfold {} 'cd {} && ([ -e composer.lock ] && ${COMPOSER_UP/update/install} || $COMPOSER_UP --prefer-lowest --prefer-stable) && $PHPUNIT_X'"
284290
echo "$COMPONENTS" | xargs -n1 -I{} tar --append -f ~/php-ext/composer-lowest.lock.tar {}/composer.lock
285291
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-
290292
echo "$COMPONENTS" | parallel --gnu "tfold {} $PHPUNIT_X {}"
291293
292294
tfold src/Symfony/Component/Console.tty $PHPUNIT --group tty

0 commit comments

Comments
 (0)
0