Skip to content

Commit 0bd4067

Browse files
committed
Update appveyor.yml
1 parent 8275da3 commit 0bd4067

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

appveyor.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@ init:
3838
install:
3939
- IF EXIST c:\tools\php (SET PHP=0)
4040
- ps: >-
41-
If ($env:php_ver_target -eq "5.6") {
42-
appveyor-retry cinst --params '""/InstallDir:C:\tools\php""' --ignore-checksums -y --forcex86 php --version ((choco search php --exact --all-versions -r | select-string -pattern $env:php_ver_target | sort { [version]($_ -split '\|' | select -last 1) } -Descending | Select-Object -first 1) -replace '[php|]','')
43-
} Else {
4441
appveyor-retry cinst --params '""/InstallDir:C:\tools\php""' --ignore-checksums -y php --version ((choco search php --exact --all-versions -r | select-string -pattern $env:php_ver_target | sort { [version]($_ -split '\|' | select -last 1) } -Descending | Select-Object -first 1) -replace '[php|]','')
45-
}
4642
- appveyor-retry cinst -y sqlite
4743
- cd c:\tools\php
4844
# Get the MSSQL DLL's
@@ -53,12 +49,10 @@ install:
5349
$source = "http://windows.php.net/downloads/pecl/releases/sqlsrv/$($DLLVersion)/php_sqlsrv-$($DLLVersion)-$($env:php_ver_target)-nts-vc14-x64.zip"
5450
$destination = "c:\tools\php\ext\php_sqlsrv-$($DLLVersion)-$($env:php_ver_target)-nts-vc14-x64.zip"
5551
Invoke-WebRequest $source -OutFile $destination
56-
#appveyor-retry appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/sqlsrv/$($DLLVersion)/php_sqlsrv-$($DLLVersion)-$($env:php_ver_target)-nts-vc14-x64.zip
5752
7z x -y php_sqlsrv-$($DLLVersion)-$($env:php_ver_target)-nts-vc14-x64.zip > $null
5853
$source = "http://windows.php.net/downloads/pecl/releases/pdo_sqlsrv/$($DLLVersion)/php_pdo_sqlsrv-$($DLLVersion)-$($env:php_ver_target)-nts-vc14-x64.zip"
5954
$destination = "c:\tools\php\ext\php_pdo_sqlsrv-$($DLLVersion)-$($env:php_ver_target)-nts-vc14-x64.zip"
6055
Invoke-WebRequest $source -OutFile $destination
61-
#appveyor-retry appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/pdo_sqlsrv/$($DLLVersion)/php_pdo_sqlsrv-$($DLLVersion)-$($env:php_ver_target)-nts-vc14-x64.zip
6256
7z x -y php_pdo_sqlsrv-$($DLLVersion)-$($env:php_ver_target)-nts-vc14-x64.zip > $null
6357
Remove-Item c:\tools\php\ext* -include .zip
6458
cd c:\tools\php
@@ -85,9 +79,9 @@ install:
8579
- IF %PHP%==1 echo extension=php_pdo_sqlite.dll >> php.ini
8680
- IF %PHP%==1 echo extension=php_mysqli.dll >> php.ini
8781
- IF %PHP%==1 echo extension=php_pdo_mysql.dll >> php.ini
88-
- IF %PHP%==1 appveyor-retry appveyor DownloadFile https://xdebug.org/files/php_xdebug-2.6.1-7.1-vc14-nts-x86_64.dll -FileName c:\tools\php\ext\php_xdebug-2.6.1-7.1-vc14-nts-x86_64.dll
82+
- IF %PHP%==1 appveyor-retry appveyor DownloadFile https://xdebug.org/files/php_xdebug-2.6.0-7.1-vc14-nts-x86_64.dll -FileName c:\tools\php\ext\php_xdebug-2.6.0-7.1-vc14-nts-x86_64.dll
8983
- IF %PHP%==1 echo [xdebug] >> php.ini
90-
- IF %PHP%==1 echo zend_extension=php_xdebug-2.6.1-7.1-vc14-nts-x86_64.dll >> php.ini
84+
- IF %PHP%==1 echo zend_extension=php_xdebug-2.6.0-7.1-vc14-nts-x86_64.dll >> php.ini
9185
- IF %PHP%==1 echo zend.assertions=1 >> php.ini
9286
- IF %PHP%==1 echo assert.exception=On >> php.ini
9387
- IF %PHP%==1 echo xdebug.remote_enable=1 >> php.ini

0 commit comments

Comments
 (0)