File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11sudo : required
2- dist : trusty
2+ dist : bionic
33
44os : linux
55
2525
2626compiler :
2727 - gcc
28- - clang
2928
3029env :
3130 global :
3938 - NGX_BUILD_JOBS=$JOBS
4039 - TEST_NGINX_SLEEP=0.006
4140 matrix :
42- - NGINX_VERSION=1.11.2
43- - NGINX_VERSION=1.19.3
41+ - NGINX_VERSION=1.17.8
42+ - NGINX_VERSION=1.19.9
4443
4544services :
4645 - mysql
@@ -69,6 +68,7 @@ install:
6968
7069before_script :
7170 - mysql -uroot -e 'create database ngx_test; grant all on ngx_test.* to "ngx_test"@"%" identified by "ngx_test"; flush privileges;'
71+ - mysql -uroot -e 'alter database ngx_test character set utf8mb4 collate utf8mb4_unicode_ci;'
7272 - psql -c "create database ngx_test;" -U postgres
7373 - psql -c "create user ngx_test with password 'ngx_test';" -U postgres
7474 - psql -c "grant all privileges on database ngx_test to ngx_test;" -U postgres
@@ -85,4 +85,4 @@ script:
8585 - export NGX_BUILD_CC=$CC
8686 - sh util/build.sh $NGINX_VERSION > build.log 2>&1 || (cat build.log && exit 1)
8787 - nginx -V
88- - prove -r t
88+ - prove -I. - r t
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ GET /test
332332 upstream backend {
333333 drizzle_server $TEST_NGINX_MYSQL_HOST:$TEST_NGINX_MYSQL_PORT protocol=mysql
334334 dbname=ngx_test user=ngx_test password=ngx_test
335- charset=utf8 ;
335+ charset=utf8mb4 ;
336336 }
337337
338338--- config
@@ -358,7 +358,7 @@ GET /test
358358{ " errcode" : 0 }
359359{ " errcode" : 0 }
360360{ " errcode" : 0 ," insert_id" : 1 ," affected_rows" : 1 }
361- [{ " id" : 1 ," body" : " a\r\n b\b ?? \u001a" } ]
361+ [{ " id" : 1 ," body" : " a\r\n b\b 你好 \u001a" } ]
362362--- timeout: 5
363363
364364
You can’t perform that action at this time.
0 commit comments