Skip to content

Commit 33c1972

Browse files
committed
Add mssql service
1 parent dc1dd4d commit 33c1972

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.cirrus.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ arm_task:
4444
env:
4545
POSTGRES_PASSWORD: "postgres"
4646
POSTGRES_DB: "test"
47+
- name: mssql
48+
image: mcr.microsoft.com/mssql/server:2019-latest
49+
env:
50+
SA_PASSWORD: mssql
51+
ACCEPT_EULA: 'Y'
52+
port: 1433
4753
install_script:
4854
- export DEBIAN_FRONTEND=noninteractive
4955
- apt-get update -y
@@ -192,6 +198,9 @@ arm_task:
192198
- export PDO_MYSQL_TEST_USER=root
193199
- export PDO_MYSQL_TEST_PASS=root
194200
- export PDO_PGSQL_TEST_DSN="pgsql:host=postgres port=5432 dbname=test user=postgres password=postgres"
201+
- export PDO_DBLIB_TEST_DSN="dblib:host=mssql;dbname=master;version=7.0"
202+
- export PDO_DBLIB_TEST_USER="sa"
203+
- export PDO_DBLIB_TEST_PASS="mssql"
195204
- >-
196205
sapi/cli/php run-tests.php
197206
-d zend_extension=opcache.so

0 commit comments

Comments
 (0)