File tree 1 file changed +16
-3
lines changed 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ asan_task:
5
5
name : ASAN_DEBUG_NTS
6
6
container :
7
7
image : gcc:latest
8
+ additional_containers :
9
+ - name : mysql
10
+ image : mysql:latest
11
+ port : 3306
12
+ env :
13
+ MYSQL_ROOT_PASSWORD : " root"
14
+ MYSQL_DATABASE : " test"
8
15
install_script :
9
16
- apt-get update -y
10
17
- >-
@@ -70,8 +77,8 @@ asan_task:
70
77
--prefix=/usr
71
78
--enable-phpdbg
72
79
--enable-fpm
73
- `# --with-pdo-mysql=mysqlnd`
74
- `# --with-mysqli=mysqlnd`
80
+ --with-pdo-mysql=mysqlnd
81
+ --with-mysqli=mysqlnd
75
82
`#--with-pgsql`
76
83
`#--with-pdo-pgsql`
77
84
`#--with-pdo-sqlite`
@@ -95,7 +102,7 @@ asan_task:
95
102
--enable-shmop
96
103
--enable-pcntl
97
104
--with-readline
98
- `# --enable-mbstring`
105
+ --enable-mbstring
99
106
--with-curl
100
107
--with-gettext
101
108
--enable-sockets
@@ -148,6 +155,12 @@ asan_task:
148
155
tests_script :
149
156
- export SKIP_IO_CAPTURE_TESTS=1
150
157
- export CI_NO_IPV6=1
158
+ - export MYSQL_TEST_HOST=mysql
159
+ - export MYSQL_TEST_USER=root
160
+ - export MYSQL_TEST_PASSWD=root
161
+ - export PDO_MYSQL_TEST_DSN="mysql:host=mysql;dbname=test"
162
+ - export PDO_MYSQL_TEST_USER=root
163
+ - export PDO_MYSQL_TEST_PASS=root
151
164
- >-
152
165
sapi/cli/php run-tests.php
153
166
-P -q -x -j2
You can’t perform that action at this time.
0 commit comments