Skip to content

Commit 5e4b974

Browse files
committed
appveyor: PHP is downloaded using cURL, added PHP 7.2
1 parent a5a59d5 commit 5e4b974

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

appveyor.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,32 @@ install:
1212
- IF EXIST c:\php\56 (SET PHP=0) ELSE (SET PHP=1)
1313
- IF %PHP%==1 mkdir c:\php\56
1414
- 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
15+
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-5.6.30-Win32-VC11-x86.zip --output php.zip
16+
- IF %PHP%==1 7z x php.zip >nul
1717
- IF %PHP%==1 del /Q *.zip
1818

1919
# Install PHP 7.0
2020
- IF EXIST c:\php\70 (SET PHP=0) ELSE (SET PHP=1)
2121
- IF %PHP%==1 mkdir c:\php\70
2222
- 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
23+
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.0.20-Win32-VC14-x86.zip --output php.zip
24+
- IF %PHP%==1 7z x php.zip >nul
2525
- IF %PHP%==1 del /Q *.zip
2626

2727
# Install PHP 7.1
2828
- IF EXIST c:\php\71 (SET PHP=0) ELSE (SET PHP=1)
2929
- IF %PHP%==1 mkdir c:\php\71
3030
- 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
31+
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.1.6-Win32-VC14-x64.zip --output php.zip
32+
- IF %PHP%==1 7z x php.zip >nul
3333
- IF %PHP%==1 del /Q *.zip
3434

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
35+
# Install PHP 7.2
36+
- IF EXIST c:\php\72 (SET PHP=0) ELSE (SET PHP=1)
37+
- IF %PHP%==1 mkdir c:\php\72
38+
- IF %PHP%==1 cd c:\php\72
39+
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.2.2-Win32-VC15-x64.zip --output php.zip
40+
- IF %PHP%==1 7z x php.zip >nul
4141
- IF %PHP%==1 del /Q *.zip
4242

4343
- cd c:\projects\tester
@@ -54,6 +54,6 @@ test_script:
5454
- c:\php\71\php src\tester tests -s -p c:\php\71\php-cgi
5555
- c:\php\71\php src\tester tests -s -p c:\php\71\phpdbg
5656

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
57+
- c:\php\72\php src\tester tests -s -p c:\php\72\php
58+
- c:\php\72\php src\tester tests -s -p c:\php\72\php-cgi
59+
- c:\php\72\php src\tester tests -s -p c:\php\72\phpdbg

0 commit comments

Comments
 (0)