8000 minor #27068 [appveyor] use PHP 7.1 to run composer (nicolas-grekas) · symfony/symfony@e1ca89b · GitHub
[go: up one dir, main page]

Skip to content

Commit e1ca89b

Browse files
minor #27068 [appveyor] use PHP 7.1 to run composer (nicolas-grekas)
This PR was merged into the 3.4 branch. Discussion ---------- [appveyor] use PHP 7.1 to run composer | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Should make appveyor back to green. Commits ------- 43e733f [appveyor] use PHP 7.1 to run composer
2 parents b8c1538 + 43e733f commit e1ca89b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

appveyor.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ install:
1818
- mkdir c:\php && cd c:\php
1919
- appveyor DownloadFile https://raw.githubusercontent.com/symfony/binary-utils/master/cacert.pem
2020
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-5.5.9-nts-Win32-VC11-x86.zip
21-
- 7z x php-5.5.9-nts-Win32-VC11-x86.zip -y >nul
2221
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.1.3-Win32-VC14-x86.zip
22+
- 7z x php-7.1.3-Win32-VC14-x86.zip -y >nul
2323
- cd ext
2424
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-4.0.10-5.5-nts-vc11-x86.zip
2525
- 7z x php_apcu-4.0.10-5.5-nts-vc11-x86.zip -y >nul
@@ -45,19 +45,21 @@ install:
4545
- echo extension=php_pdo_sqlite.dll >> php.ini-max
4646
- echo extension=php_curl.dll >> php.ini-max
4747
- echo curl.cainfo=c:\php\cacert.pem >> php.ini-max
48-
- copy /Y php.ini-max php.ini
48+
- copy /Y php.ini-min php.ini
49+
- echo extension=php_openssl.dll >> php.ini
4950
- cd c:\projects\symfony
5051
- IF NOT EXIST composer.phar (appveyor DownloadFile https://getcomposer.org/download/1.3.0/composer.phar)
5152
- php composer.phar self-update
5253
- copy /Y .composer\* %APPDATA%\Composer\
5354
- php .github/build-packages.php "HEAD^" src\Symfony\Bridge\PhpUnit
5455
- IF %APPVEYOR_REPO_BRANCH%==master (SET COMPOSER_ROOT_VERSION=dev-master) ELSE (SET COMPOSER_ROOT_VERSION=%APPVEYOR_REPO_BRANCH%.x-dev)
55-
- php -dmemory_limit=-1 composer.phar update --no-progress --no-suggest --ansi
56+
- php composer.phar config platform.php 5.5.9
57+
- php composer.phar update --no-progress --no-suggest --ansi
5658
- php phpunit install
5759

5860
test_script:
5961
- SET X=0
60-
- cd c:\php && 7z x php-7.1.3-Win32-VC14-x86.zip -y >nul && copy /Y php.ini-min php.ini
62+
- cd c:\php && copy /Y php.ini-min php.ini
6163
- cd c:\projects\symfony
6264
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
6365
- cd c:\php && 7z x php-5.5.9-nts-Win32-VC11-x86.zip -y >nul && copy /Y php.ini-min php.ini

0 commit comments

Comments
 (0)
0