* 2.8: (21 commits) Fix merge Fix typo Various fixes esp. on Windows Fix the validation of form resources to register the default theme Fix the retrieval of the value with property path when using a loader [appveyor] minor enhancements [Process] Disable failing tests on Windows [Translation] Fix the string casting in the XliffFileLoader Windows and Intl fixes Add appveyor.yml for C.I. on Windows [VarDumper] fixed HtmlDumper to target specific the head tag [travis] merge php: nightly and deps=high test-matrix lines consistently use str_replace to unify directory separators Support omitting the <target> node in an .xlf file. Fix the handling of values for multiple choice types moved PHP nightly to PHP 7.0 fixed tests using deprecation features [Form] made deprecation notice more precise fixed CS Fix BC break after split of ACL from core ... Conflicts: .travis.yml composer.json src/Symfony/Bundle/TwigBundle/DependencyInjection/Configuration.php src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php src/Symfony/Component/Intl/Tests/DateFormatter/AbstractIntlDateFormatterTest.php src/Symfony/Component/Locale/Tests/LocaleTest.php
45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
build: false
|
|
shallow_clone: true
|
|
platform: x86
|
|
clone_folder: c:\projects\symfony
|
|
|
|
environment:
|
|
matrix:
|
|
- PHP_EXT: 1
|
|
- PHP_EXT: 0
|
|
|
|
cache:
|
|
- c:\php -> appveyor.yml
|
|
- .phpunit -> phpunit
|
|
|
|
init:
|
|
- SET PATH=c:\php;%PATH%
|
|
- SET COMPOSER_NO_INTERACTION=1
|
|
- SET SYMFONY_DEPRECATIONS_HELPER=strict
|
|
- SET PHP=1
|
|
- SET ANSICON=121x90 (121x90)
|
|
|
|
install:
|
|
- IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php)
|
|
- cd c:\php
|
|
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.6.11-nts-Win32-VC11-x86.zip
|
|
- IF %PHP%==1 7z x php-5.6.11-nts-Win32-VC11-x86.zip -y > 7z.log
|
|
- IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat
|
|
- appveyor DownloadFile https://getcomposer.org/composer.phar
|
|
- copy php.ini-production php.ini /Y
|
|
- echo date.timezone="UTC" >> php.ini
|
|
- echo extension_dir=ext >> php.ini
|
|
- echo extension=php_openssl.dll >> php.ini
|
|
- IF %PHP_EXT%==1 echo extension=php_intl.dll >> php.ini
|
|
- IF %PHP_EXT%==1 echo extension=php_mbstring.dll >> php.ini
|
|
- IF %PHP_EXT%==1 echo extension=php_fileinfo.dll >> php.ini
|
|
- IF %PHP_EXT%==1 echo extension=php_pdo_sqlite.dll >> php.ini
|
|
- cd c:\projects\symfony
|
|
- php phpunit install
|
|
- IF %APPVEYOR_REPO_BRANCH%==master (SET COMPOSER_ROOT_VERSION=dev-master) ELSE (SET COMPOSER_ROOT_VERSION=%APPVEYOR_REPO_BRANCH%.x-dev)
|
|
- composer update --prefer-source --no-progress --ansi
|
|
|
|
test_script:
|
|
- cd c:\projects\symfony
|
|
- php phpunit symfony --exclude-group benchmark,intl-data
|