Skip to content

Commit 7044848

Browse files
committed
appveyor: updates
1 parent 3f35235 commit 7044848

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

appveyor.yml

Lines changed: 10 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

@@ -40,3 +41,7 @@ install:
4041

4142
test_script:
4243
- vendor\bin\tester tests -s -c tests\php-win.ini
44+
45+
on_failure:
46+
# Print *.actual content
47+
- for /r %%x in (*.actual) do ( type "%%x" )

0 commit comments

Comments
 (0)