29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-07-02 18:13:43 +00:00

Fix php 5.6 sqlsrv dll downloads on appveyor (#15706)

* Remove php 5.6 from appveyor

the sqlsrv files we were using are no longer available

* fix the VC and build type issue

* Simple removal of php 5.6 with option to fix in future

* add appveyor-retry to the SQLite download

* new download location for php 5.6 sqlsrv dlls
This commit is contained in:
Walt Sorensen 2017-05-11 05:41:29 -06:00 committed by Michael Babker
parent 595602ab82
commit b3a83cbd6b

View File

@ -33,13 +33,13 @@ install:
$VC = "vc14"
$PHPBuild = "x64"
}
- cinst -y sqlite
- appveyor-retry cinst -y sqlite
- cd C:\tools\php
# Get the MSSQL DLL's
- ps: >-
If ($env:PHP -eq "1") {
If ($env:php_ver_target -eq "5.6") {
appveyor-retry appveyor DownloadFile https://files.nette.org/misc/php-sqlsrv.zip
appveyor-retry appveyor DownloadFile https://cdn.joomla.org/ci/php-sqlsrv.zip
7z x -y php-sqlsrv.zip > $null
copy SQLSRV\php_sqlsrv_56_nts.dll ext\php_sqlsrv_nts.dll
copy SQLSRV\php_pdo_sqlsrv_56_nts.dll ext\php_pdo_sqlsrv_nts.dll