8000 [appveyor][3.x] Run the test suite on PHP 7.1 · symfony/symfony@51b82f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 51b82f5

Browse files
[appveyor][3.x] Run the test suite on PHP 7.1
1 parent da26b3f commit 51b82f5

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,23 +11,23 @@ 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.5.9-nts-Win32-VC11-x86.zip
20+
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-5.5.9-nts-Win32-VC11-x86.zip
2121
- 7z x php-5.5.9-nts-Win32-VC11-x86.zip -y >nul
22-
- del /Q *.zip
22+
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.1.3-Win32-VC14-x64.zip
2323
- cd ext
24-
- appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/apcu/4.0.10/php_apcu-4.0.10-5.5-nts-vc11-x86.zip
24+
- 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
26-
- appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/php_memcache-3.0.8-5.5-nts-vc11-x86.zip
26+
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_memcache-3.0.8-5.5-nts-vc11-x86.zip
2727
- 7z x php_memcache-3.0.8-5.5-nts-vc11-x86.zip -y >nul
28-
- del /Q *.zip
2928
- cd ..
3029
- copy /Y php.ini-development php.ini-min
30+
- echo serialize_precision=14 >> php.ini-min
3131
- echo max_execution_time=1200 >> php.ini-min
3232
- echo date.timezone="America/Los_Angeles" >> php.ini-min
3333
- echo extension_dir=ext >> php.ini-min
@@ -55,9 +55,13 @@ install:
5555
- php phpunit install
5656

5757
test_script:
58-
- cd c:\projects\symfony
5958
- SET X=0
60-
- copy /Y c:\php\php.ini-min c:\php\php.ini
59+
- cd c:\php && 7z x php-7.1.3-Win32-VC14-x64.zip -y >nul && copy /Y php.ini-min php.ini
60+
- cd c:\projects\symfony
61+
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
62+
- cd c:\php && 7z x php-5.5.9-nts-Win32-VC11-x86.zip -y >nul && copy /Y php.ini-min php.ini
63+
- cd c:\projects\symfony
64+
- SET SYMFONY_PHPUNIT_SKIPPED_TESTS=phpunit.skipped
6165
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
6266
- copy /Y c:\php\php.ini-max c:\php\php.ini
6367
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!

0 commit comments

Comments
 (0)
0