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
This commit is contained in:
commit
e1ca89b4bd
10
appveyor.yml
10
appveyor.yml
@ -18,8 +18,8 @@ install:
|
||||
- mkdir c:\php && cd c:\php
|
||||
- appveyor DownloadFile https://raw.githubusercontent.com/symfony/binary-utils/master/cacert.pem
|
||||
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-5.5.9-nts-Win32-VC11-x86.zip
|
||||
- 7z x php-5.5.9-nts-Win32-VC11-x86.zip -y >nul
|
||||
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.1.3-Win32-VC14-x86.zip
|
||||
- 7z x php-7.1.3-Win32-VC14-x86.zip -y >nul
|
||||
- cd ext
|
||||
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-4.0.10-5.5-nts-vc11-x86.zip
|
||||
- 7z x php_apcu-4.0.10-5.5-nts-vc11-x86.zip -y >nul
|
||||
@ -45,19 +45,21 @@ install:
|
||||
- echo extension=php_pdo_sqlite.dll >> php.ini-max
|
||||
- echo extension=php_curl.dll >> php.ini-max
|
||||
- echo curl.cainfo=c:\php\cacert.pem >> php.ini-max
|
||||
- copy /Y php.ini-max php.ini
|
||||
- copy /Y php.ini-min php.ini
|
||||
- echo extension=php_openssl.dll >> php.ini
|
||||
- cd c:\projects\symfony
|
||||
- IF NOT EXIST composer.phar (appveyor DownloadFile https://getcomposer.org/download/1.3.0/composer.phar)
|
||||
- php composer.phar self-update
|
||||
- copy /Y .composer\* %APPDATA%\Composer\
|
||||
- php .github/build-packages.php "HEAD^" src\Symfony\Bridge\PhpUnit
|
||||
- IF %APPVEYOR_REPO_BRANCH%==master (SET COMPOSER_ROOT_VERSION=dev-master) ELSE (SET COMPOSER_ROOT_VERSION=%APPVEYOR_REPO_BRANCH%.x-dev)
|
||||
- php -dmemory_limit=-1 composer.phar update --no-progress --no-suggest --ansi
|
||||
- php composer.phar config platform.php 5.5.9
|
||||
- php composer.phar update --no-progress --no-suggest --ansi
|
||||
- php phpunit install
|
||||
|
||||
test_script:
|
||||
- SET X=0
|
||||
- cd c:\php && 7z x php-7.1.3-Win32-VC14-x86.zip -y >nul && copy /Y php.ini-min php.ini
|
||||
- cd c:\php && copy /Y php.ini-min php.ini
|
||||
- cd c:\projects\symfony
|
||||
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
|
||||
- cd c:\php && 7z x php-5.5.9-nts-Win32-VC11-x86.zip -y >nul && copy /Y php.ini-min php.ini
|
||||
|
Reference in New Issue
Block a user