8000 Fix Travis script · simPod/symfony@ffef8fe · GitHub
[go: up one dir, main page]

Skip to content

Commit ffef8fe

Browse files
Fix Travis script
1 parent ca41e35 commit ffef8fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ install:
266266
run_tests () {
267267
set -e
268268
export PHP=$1
269+
phpenv global $PHP
269270
270271
if [[ !$deps && $PHP = 7.2 ]]; then
271< 6D1B code>272
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"
@@ -275,7 +276,7 @@ install:
275276
echo -e "\\n\\e[33;1mIntermediate PHP version $PHP is skipped for pull requests.\\e[0m"
276277
return
277278
fi
278-
phpenv global $PHP
279+
279280
([[ $deps ]] && cd src/Symfony/Component/HttpFoundation; cp composer.json composer.bak; composer config platform.ext-mongodb 1.6.0; composer require --dev --no-update mongodb/mongodb ~1.5.0)
280281
tfold 'composer update' $COMPOSER_UP
281282
tfold 'phpunit install' ./phpunit install

0 commit comments

Comments
 (0)
0