|
8 | 8 | - SET ANSICON=121x90 (121x90) |
9 | 9 |
|
10 | 10 | install: |
11 | | - # Install PHP 5.6 |
12 | | - - IF EXIST c:\php\56 (SET PHP=0) ELSE (SET PHP=1) |
13 | | - - IF %PHP%==1 mkdir c:\php\56 |
14 | | - - IF %PHP%==1 cd c:\php\56 |
15 | | - - IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.6.30-Win32-VC11-x86.zip |
16 | | - - IF %PHP%==1 7z x php-5.6.30-Win32-VC11-x86.zip >nul |
17 | | - - IF %PHP%==1 del /Q *.zip |
18 | | - |
19 | | - # Install PHP 7.0 |
20 | | - - IF EXIST c:\php\70 (SET PHP=0) ELSE (SET PHP=1) |
21 | | - - IF %PHP%==1 mkdir c:\php\70 |
22 | | - - IF %PHP%==1 cd c:\php\70 |
23 | | - - IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.0.20-Win32-VC14-x86.zip |
24 | | - - IF %PHP%==1 7z x php-7.0.20-Win32-VC14-x86.zip >nul |
25 | | - - IF %PHP%==1 del /Q *.zip |
26 | | - |
27 | 11 | # Install PHP 7.1 |
28 | 12 | - IF EXIST c:\php\71 (SET PHP=0) ELSE (SET PHP=1) |
29 | 13 | - IF %PHP%==1 mkdir c:\php\71 |
30 | 14 | - IF %PHP%==1 cd c:\php\71 |
31 | | - - IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.1.6-Win32-VC14-x86.zip |
32 | | - - IF %PHP%==1 7z x php-7.1.6-Win32-VC14-x86.zip >nul |
| 15 | + - IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.1.6-Win32-VC14-x64.zip --output php.zip |
| 16 | + - IF %PHP%==1 7z x php.zip >nul |
33 | 17 | - IF %PHP%==1 del /Q *.zip |
34 | 18 |
|
35 | | - # Install PHP 7.1 x64 |
36 | | - - IF EXIST c:\php\71x64 (SET PHP=0) ELSE (SET PHP=1) |
37 | | - - IF %PHP%==1 mkdir c:\php\71x64 |
38 | | - - IF %PHP%==1 cd c:\php\71x64 |
39 | | - - IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.1.6-Win32-VC14-x64.zip |
40 | | - - IF %PHP%==1 7z x php-7.1.6-Win32-VC14-x64.zip >nul |
| 19 | + # Install PHP 7.2 |
| 20 | + - IF EXIST c:\php\72 (SET PHP=0) ELSE (SET PHP=1) |
| 21 | + - IF %PHP%==1 mkdir c:\php\72 |
| 22 | + - IF %PHP%==1 cd c:\php\72 |
| 23 | + - IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.2.2-Win32-VC15-x64.zip --output php.zip |
| 24 | + - IF %PHP%==1 7z x php.zip >nul |
41 | 25 | - IF %PHP%==1 del /Q *.zip |
42 | 26 |
|
43 | 27 | - cd c:\projects\tester |
44 | 28 |
|
45 | 29 | test_script: |
46 | | - - c:\php\56\php src\tester tests -s -p c:\php\56\php |
47 | | - - c:\php\56\php src\tester tests -s -p c:\php\56\php-cgi |
48 | | - |
49 | | - - c:\php\70\php src\tester tests -s -p c:\php\70\php |
50 | | - - c:\php\70\php src\tester tests -s -p c:\php\70\php-cgi |
51 | | - - c:\php\70\php src\tester tests -s -p c:\php\70\phpdbg |
52 | | - |
53 | 30 | - c:\php\71\php src\tester tests -s -p c:\php\71\php |
54 | 31 | - c:\php\71\php src\tester tests -s -p c:\php\71\php-cgi |
55 | 32 | - c:\php\71\php src\tester tests -s -p c:\php\71\phpdbg |
56 | 33 |
|
57 | | - - c:\php\71x64\php src\tester tests -s -p c:\php\71x64\php |
58 | | - - c:\php\71x64\php src\tester tests -s -p c:\php\71x64\php-cgi |
59 | | - - c:\php\71x64\php src\tester tests -s -p c:\php\71x64\phpdbg |
| 34 | + - c:\php\72\php src\tester tests -s -p c:\php\72\php |
| 35 | + - c:\php\72\php src\tester tests -s -p c:\php\72\php-cgi |
| 36 | + - c:\php\72\php src\tester tests -s -p c:\php\72\phpdbg |
| 37 | + |
| 38 | +on_failure: |
| 39 | + # Print *.actual content |
| 40 | + - for /r %%x in (*.actual) do ( type "%%x" ) |
0 commit comments