Skip to content

Commit

Permalink
appveyor: PHP is downloaded using cURL, added PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jun 7, 2018
1 parent 4eff96f commit 2da0c09
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions appveyor.yml
Expand Up @@ -12,32 +12,32 @@ install:
- IF EXIST c:\php\56 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\56
- IF %PHP%==1 cd c:\php\56
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.6.30-Win32-VC11-x86.zip
- IF %PHP%==1 7z x php-5.6.30-Win32-VC11-x86.zip >nul
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-5.6.30-Win32-VC11-x86.zip --output php.zip
- IF %PHP%==1 7z x php.zip >nul
- IF %PHP%==1 del /Q *.zip

# Install PHP 7.0
- IF EXIST c:\php\70 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\70
- IF %PHP%==1 cd c:\php\70
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.0.20-Win32-VC14-x86.zip
- IF %PHP%==1 7z x php-7.0.20-Win32-VC14-x86.zip >nul
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.0.20-Win32-VC14-x86.zip --output php.zip
- IF %PHP%==1 7z x php.zip >nul
- IF %PHP%==1 del /Q *.zip

# Install PHP 7.1
- IF EXIST c:\php\71 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\71
- IF %PHP%==1 cd c:\php\71
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.1.6-Win32-VC14-x86.zip
- IF %PHP%==1 7z x php-7.1.6-Win32-VC14-x86.zip >nul
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.1.6-Win32-VC14-x64.zip --output php.zip
- IF %PHP%==1 7z x php.zip >nul
- IF %PHP%==1 del /Q *.zip

# Install PHP 7.1 x64
- IF EXIST c:\php\71x64 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\71x64
- IF %PHP%==1 cd c:\php\71x64
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.1.6-Win32-VC14-x64.zip
- IF %PHP%==1 7z x php-7.1.6-Win32-VC14-x64.zip >nul
# Install PHP 7.2
- IF EXIST c:\php\72 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\72
- IF %PHP%==1 cd c:\php\72
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.2.2-Win32-VC15-x64.zip --output php.zip
- IF %PHP%==1 7z x php.zip >nul
- IF %PHP%==1 del /Q *.zip

- cd c:\projects\tester
Expand All @@ -54,6 +54,6 @@ test_script:
- c:\php\71\php src\tester tests -s -p c:\php\71\php-cgi
- c:\php\71\php src\tester tests -s -p c:\php\71\phpdbg

- c:\php\71x64\php src\tester tests -s -p c:\php\71x64\php
- c:\php\71x64\php src\tester tests -s -p c:\php\71x64\php-cgi
- c:\php\71x64\php src\tester tests -s -p c:\php\71x64\phpdbg
- c:\php\72\php src\tester tests -s -p c:\php\72\php
- c:\php\72\php src\tester tests -s -p c:\php\72\php-cgi
- c:\php\72\php src\tester tests -s -p c:\php\72\phpdbg

0 comments on commit 2da0c09

Please sign in to comment.