Skip to content

Commit 208dca2

Browse files
committed
appveyor: updates
1 parent 3f35235 commit 208dca2

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

appveyor.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@ init:
1919

2020
install:
2121
# Install PHP
22-
- IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php)
22+
- IF EXIST c:\php (SET PHP=0) ELSE (SET PHP=1)
23+
- IF %PHP%==1 mkdir c:\php
2324
- IF %PHP%==1 cd c:\php
24-
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.1.0-Win32-VC14-x64.zip --output php.zip
25+
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.1.5-Win32-VC14-x64.zip --output php.zip
2526
- IF %PHP%==1 7z x php.zip >nul
2627
- IF %PHP%==1 echo extension_dir=ext >> php.ini
2728
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
28-
- IF %PHP%==1 appveyor DownloadFile https://github.com/Microsoft/msphpsql/releases/download/4.1.4-Windows/7.1.zip
29-
- IF %PHP%==1 7z x 7.1.zip >nul
30-
- IF %PHP%==1 copy 7.1\x64\php_pdo_sqlsrv_71_ts.dll ext\php_pdo_sqlsrv_ts.dll
29+
- IF %PHP%==1 curl https://github.com/Microsoft/msphpsql/releases/download/v4.3.0/Windows-7.1.zip -L --output sqlsrv.zip
30+
- IF %PHP%==1 7z x sqlsrv.zip >nul
31+
- IF %PHP%==1 copy Windows-7.1\x64\php_pdo_sqlsrv_71_ts.dll ext\php_pdo_sqlsrv_ts.dll
3132
- IF %PHP%==1 del /Q *.zip
3233
- cd c:\projects\database
3334

tests/Database/ResultSet.normalizeRow.sqlsrv.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $res = $connection->query('SELECT * FROM types');
1919

2020
Assert::equal([
2121
'bigint' => 1,
22-
'binary_3' => '0000FF',
22+
'binary_3' => "\x00\x00\xFF",
2323
'bit' => '1',
2424
'char_5' => 'a ',
2525
'date' => new DateTime('2012-10-13 00:00:00'),

0 commit comments

Comments
 (0)