Skip to content

Commit 0c4e549

Browse files
minor symfony#22560 [appveyor] Run the test suite on PHP 7.1 (nicolas-grekas)
This PR was merged into the 2.7 branch. Discussion ---------- [appveyor] Run the test suite on PHP 7.1 | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- a537d6c [appveyor] Run the test suite on PHP 7.1
2 parents 0e9a243 + a537d6c commit 0c4e549

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

appveyor.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@ init:
1111
- SET COMPOSER_NO_INTERACTION=1
1212
- SET SYMFONY_DEPRECATIONS_HELPER=strict
1313
- SET ANSICON=121x90 (121x90)
14-
- SET SYMFONY_PHPUNIT_SKIPPED_TESTS=phpunit.skipped
14+
- SET SYMFONY_PHPUNIT_VERSION=4.8
1515
- REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v DelayedExpansion /t REG_DWORD /d 1 /f
1616

1717
install:
1818
- mkdir c:\php && cd c:\php
1919
- appveyor DownloadFile https://raw.githubusercontent.com/symfony/binary-utils/master/cacert.pem
20-
- appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.3.11-nts-Win32-VC9-x86.zip
20+
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-5.3.11-nts-Win32-VC9-x86.zip
2121
- 7z x php-5.3.11-nts-Win32-VC9-x86.zip -y >nul
2222
- appveyor DownloadFile https://raw.githubusercontent.com/symfony/binary-utils/master/ICU-51.2-dlls.zip
2323
- 7z x ICU-51.2-dlls.zip -y >nul
24-
- del /Q *.zip
24+
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.1.3-Win32-VC14-x64.zip
2525
- cd ext
2626
- appveyor DownloadFile https://raw.githubusercontent.com/symfony/binary-utils/master/php_intl-3.0.0-5.3-nts-vc9-x86.zip
2727
- 7z x php_intl-3.0.0-5.3-nts-vc9-x86.zip -y >nul
28-
- appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/apcu/4.0.10/php_apcu-4.0.10-5.3-nts-vc9-x86.zip
28+
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-4.0.10-5.3-nts-vc9-x86.zip
2929
- 7z x php_apcu-4.0.10-5.3-nts-vc9-x86.zip -y >nul
30-
- appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/php_memcache-3.0.8-5.3-nts-vc9-x86.zip
30+
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_memcache-3.0.8-5.3-nts-vc9-x86.zip
3131
- 7z x php_memcache-3.0.8-5.3-nts-vc9-x86.zip -y >nul
32-
- del /Q *.zip
3332
- cd ..
3433
- copy /Y php.ini-development php.ini-min
34+
- echo serialize_precision=14 >> php.ini-min
3535
- echo max_execution_time=1200 >> php.ini-min
3636
- echo date.timezone="America/Los_Angeles" >> php.ini-min
3737
- echo extension_dir=ext >> php.ini-min
@@ -58,8 +58,12 @@ install:
5858

5959
test_script:
6060
- cd c:\projects\symfony
61-
- SET X=0
62-
- copy /Y c:\php\php.ini-min c:\php\php.ini
61+
- cd c:\php && 7z x php-7.1.3-Win32-VC14-x64.zip -y >nul && copy /Y php.ini-min php.ini
62+
- cd c:\projects\symfony
63+
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
64+
- cd c:\php && 7z x php-5.3.11-nts-Win32-VC9-x86.zip -y >nul && copy /Y php.ini-min php.ini
65+
- cd c:\projects\symfony
66+
- SET SYMFONY_PHPUNIT_SKIPPED_TESTS=phpunit.skipped
6367
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
6468
- copy /Y c:\php\php.ini-max c:\php\php.ini
6569
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!

0 commit comments

Comments
 (0)