|
1 | 1 | build: off
|
2 | 2 | cache:
|
3 |
| - - c:\php -> appveyor.yml |
4 |
| - - '%LOCALAPPDATA%\Composer\files -> appveyor.yml' |
| 3 | + - '%LOCALAPPDATA%\Composer\files -> appveyor.yml' |
5 | 4 |
|
6 | 5 | clone_folder: c:\projects\php-parallel-lint
|
7 | 6 |
|
8 | 7 | init:
|
9 |
| - - SET PATH=c:\php;%PATH% |
10 |
| - - SET INSTALL_PHP=1 |
11 |
| - - SET ANSICON=121x90 (121x90) |
| 8 | + - SET PATH=c:\php;%PATH% |
| 9 | + - SET ANSICON=121x90 (121x90) |
12 | 10 |
|
13 | 11 | install:
|
14 |
| - # Install PHP |
15 |
| - - IF EXIST c:\php (SET INSTALL_PHP=0) ELSE (mkdir c:\php) |
16 |
| - - IF %INSTALL_PHP%==1 cd c:\php |
17 |
| - - IF %INSTALL_PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.6.15-nts-Win32-VC11-x86.zip |
18 |
| - - IF %INSTALL_PHP%==1 7z x php-5.6.15-nts-Win32-VC11-x86.zip >nul |
19 |
| - - IF %INSTALL_PHP%==1 del /Q *.zip |
20 |
| - - cd c:\projects\php-parallel-lint |
21 |
| - |
22 |
| - # Install Composer dependencies |
23 |
| - - appveyor DownloadFile https://getcomposer.org/composer.phar |
24 |
| - - php composer.phar config disable-tls true |
25 |
| - - php composer.phar config secure-http false |
26 |
| - - php composer.phar install --no-interaction --prefer-source --no-progress |
| 12 | + - cinst -y OpenSSL.Light |
| 13 | + - SET PATH=C:\Program Files\OpenSSL;%PATH% |
| 14 | + - sc config wuauserv start= auto |
| 15 | + - net start wuauserv |
| 16 | + - cinst -y php --version 7.2.8 |
| 17 | + - cd c:\tools\php72 |
| 18 | + - copy php.ini-production php.ini |
| 19 | + - echo date.timezone="UTC" >> php.ini |
| 20 | + - echo extension_dir=ext >> php.ini |
| 21 | + - echo extension=php_openssl.dll >> php.ini |
| 22 | + - cd c:\projects\php-parallel-lint |
| 23 | + - SET PATH=C:\tools\php72;%PATH% |
| 24 | + - appveyor-retry appveyor DownloadFile https://getcomposer.org/composer.phar |
| 25 | + - php composer.phar install --prefer-source --no-interaction |
27 | 26 |
|
28 | 27 | test_script:
|
29 |
| - - vendor\bin\tester tests -p php |
30 |
| - - php parallel-lint.php --exclude vendor --exclude tests\examples --no-colors . |
31 |
| - - php parallel-lint.php --exclude vendor --exclude tests\examples . |
| 28 | + - vendor\bin\tester tests -p php |
| 29 | + - php parallel-lint.php --exclude vendor --exclude tests\examples --no-colors . |
| 30 | + - php parallel-lint.php --exclude vendor --exclude tests\examples . |
0 commit comments