Skip to content

Commit

Permalink
appveyor: run tests on PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Apr 29, 2018
1 parent 64ed252 commit 37bed6e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .appveyor.yml
@@ -1,7 +1,7 @@
build: off
cache:
- c:\php -> appveyor.yml
- '%LOCALAPPDATA%\Composer\files -> appveyor.yml'
- c:\php -> .appveyor.yml
- '%LOCALAPPDATA%\Composer\files -> .appveyor.yml'

clone_folder: c:\projects\orm

Expand All @@ -17,14 +17,14 @@ install:
# Install PHP
- IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php)
- IF %PHP%==1 cd c:\php
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.1.0-Win32-VC14-x64.zip
- IF %PHP%==1 7z x php-7.1.0-Win32-VC14-x64.zip >nul
- IF %PHP%==1 appveyor DownloadFile https://windows.php.net/downloads/releases/php-7.2.5-Win32-VC15-x64.zip
- IF %PHP%==1 7z x php-7.2.5-Win32-VC15-x64.zip >nul
- IF %PHP%==1 echo extension_dir=ext >> php.ini
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
- IF %PHP%==1 echo extension=php_sqlsrv_ts.dll >> php.ini
- IF %PHP%==1 appveyor DownloadFile https://github.com/Microsoft/msphpsql/releases/download/4.1.4-Windows/7.1.zip
- IF %PHP%==1 7z x 7.1.zip >nul
- IF %PHP%==1 copy 7.1\x64\php_sqlsrv_71_ts.dll ext\php_sqlsrv_ts.dll
- IF %PHP%==1 appveyor DownloadFile https://github.com/Microsoft/msphpsql/releases/download/v5.2.0/Windows-7.2.zip
- IF %PHP%==1 7z x Windows-7.2.zip >nul
- IF %PHP%==1 copy Windows-7.2\x64\php_sqlsrv_72_ts.dll ext\php_sqlsrv_ts.dll
- IF %PHP%==1 del /Q *.zip
- cd c:\projects\orm

Expand Down

0 comments on commit 37bed6e

Please sign in to comment.