Skip to content

Commit

Permalink
Try adding cache
Browse files Browse the repository at this point in the history
Follows changes in Doctrine/DBAL https://github.com/doctrine/dbal/blob/master/.appveyor.yml

updates to released MSSQL DLL 5.2.0
  • Loading branch information
photodude committed May 14, 2018
1 parent c3ae46d commit 549cecc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ clone_folder: C:\projects\database
branches:
except:
- gh-pages
clone_depth: 2

cache:
- C:\ProgramData\chocolatey\bin -> .appveyor.yml
- C:\ProgramData\chocolatey\lib -> .appveyor.yml
- C:\tools\php -> .appveyor.yml
#- C:\tools\composer -> .appveyor.yml
- '%LOCALAPPDATA%\Composer\files -> composer.json'

## Build matrix for lowest and highest possible targets
environment:
matrix:
Expand Down Expand Up @@ -47,7 +56,7 @@ install:
copy SQLSRV\php_pdo_sqlsrv_56_nts.dll ext\php_pdo_sqlsrv_nts.dll
Remove-Item c:\tools\php\* -include .zip
} Else {
$DLLVersion = "4.3.0"
$DLLVersion = "5.2.0"
cd c:\tools\php\ext
$source = "http://windows.php.net/downloads/pecl/releases/sqlsrv/$($DLLVersion)/php_sqlsrv-$($DLLVersion)-$($env:php_ver_target)-nts-vc14-x64.zip"
$destination = "c:\tools\php\ext\php_sqlsrv-$($DLLVersion)-$($env:php_ver_target)-nts-vc14-x64.zip"
Expand Down

0 comments on commit 549cecc

Please sign in to comment.