mirror of
https://github.com/dg/dibi.git
synced 2025-01-17 06:08:19 +01:00
appveyor: testing with SQL Server 2012 & 2014
This commit is contained in:
parent
2c01d993d0
commit
6b2a46bcb8
@ -6,6 +6,8 @@ cache:
|
||||
clone_folder: c:\projects\dibi
|
||||
|
||||
services:
|
||||
- mssql2012sp1
|
||||
- mssql2014
|
||||
- mysql
|
||||
|
||||
init:
|
||||
@ -21,6 +23,10 @@ install:
|
||||
- IF %PHP%==1 7z x php-5.6.14-Win32-VC11-x86.zip >nul
|
||||
- IF %PHP%==1 echo extension_dir=ext >> php.ini
|
||||
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
|
||||
- IF %PHP%==1 appveyor DownloadFile https://files.nette.org/misc/php-sqlsrv.zip
|
||||
- IF %PHP%==1 7z x php-sqlsrv.zip >nul
|
||||
- IF %PHP%==1 copy SQLSRV\php_sqlsrv_56_ts.dll ext\php_sqlsrv_ts.dll
|
||||
- IF %PHP%==1 copy SQLSRV\php_pdo_sqlsrv_56_ts.dll ext\php_pdo_sqlsrv_ts.dll
|
||||
- IF %PHP%==1 del /Q *.zip
|
||||
- cd c:\projects\dibi
|
||||
|
||||
|
@ -42,3 +42,48 @@ dsn = "odbc:Driver={Microsoft Access Driver (*.mdb)};Dbq=data/odbc.mdb"
|
||||
username =
|
||||
password =
|
||||
system = odbc
|
||||
|
||||
;[sqlsrv 2008]
|
||||
;driver = sqlsrv
|
||||
;host = "(local)\SQL2008R2SP2"
|
||||
;database = master
|
||||
;username = sa
|
||||
;password = "Password12!"
|
||||
;system = sqlsrv
|
||||
|
||||
;[sqlsrv 2008-pdo]
|
||||
;driver = pdo
|
||||
;dsn = "sqlsrv:Server=(local)\SQL2008R2SP2;Database=master"
|
||||
;username = sa
|
||||
;password = "Password12!"
|
||||
;system = sqlsrv
|
||||
|
||||
[sqlsrv 2012]
|
||||
driver = sqlsrv
|
||||
host = "(local)\SQL2012SP1"
|
||||
database = master
|
||||
username = sa
|
||||
password = "Password12!"
|
||||
system = sqlsrv
|
||||
|
||||
;[sqlsrv 2012-pdo]
|
||||
;driver = pdo
|
||||
;dsn = "sqlsrv:Server=(local)\SQL2012SP1;Database=master"
|
||||
;username = sa
|
||||
;password = "Password12!"
|
||||
;system = sqlsrv
|
||||
|
||||
[sqlsrv 2014]
|
||||
driver = sqlsrv
|
||||
host = "(local)\SQL2014"
|
||||
database = master
|
||||
username = sa
|
||||
password = "Password12!"
|
||||
system = sqlsrv
|
||||
|
||||
;[sqlsrv 2014-pdo]
|
||||
;driver = pdo
|
||||
;dsn = "sqlsrv:Server=(local)\SQL2014;Database=master"
|
||||
;username = sa
|
||||
;password = "Password12!"
|
||||
;system = sqlsrv
|
||||
|
@ -14,4 +14,5 @@ extension=php_pdo_pgsql.dll
|
||||
extension=php_pdo_sqlite.dll
|
||||
extension=php_pgsql.dll
|
||||
extension=php_sqlite3.dll
|
||||
;extension=php_sqlsrv_ts.dll
|
||||
extension=php_sqlsrv_ts.dll
|
||||
extension=php_pdo_sqlsrv_ts.dll
|
||||
|
Loading…
x
Reference in New Issue
Block a user