Skip to content

Commit c631276

Browse files
tests: update nginx to 1.25.3.
1 parent fb6cf25 commit c631276

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
sudo: required
2-
dist: bionic
2+
dist: focal
3+
4+
branches:
5+
only:
6+
- "master"
37

48
os: linux
59

@@ -43,11 +47,11 @@ env:
4347
- NGX_BUILD_JOBS=$JOBS
4448
- TEST_NGINX_SLEEP=0.006
4549
matrix:
46-
- NGINX_VERSION=1.17.8
47-
- NGINX_VERSION=1.19.9
50+
- NGINX_VERSION=1.21.4
51+
- NGINX_VERSION=1.25.3
4852

4953
install:
50-
- if [ ! -f download-cache/drizzle7-2011.07.21.tar.gz ]; then wget -P download-cache/ http://openresty.org/download/drizzle7-2011.07.21.tar.gz; fi
54+
- if [ ! -f download-cache/drizzle7-2011.07.21.tar.gz ]; then wget -P download-cache https://github.com/openresty/openresty-deps-prebuild/releases/download/v20230902/drizzle7-2011.07.21.tar.gz; fi
5155
- git clone https://github.com/openresty/nginx-devel-utils.git
5256
- git clone https://github.com/openresty/openresty.git ../openresty
5357
- git clone https://github.com/openresty/no-pool-nginx.git ../no-pool-nginx
@@ -65,7 +69,7 @@ install:
6569
- git clone https://github.com/openresty/openresty.git ../ngx_openresty
6670

6771
before_script:
68-
- mysql -uroot -e 'create database ngx_test; grant all on ngx_test.* to "ngx_test"@"%" identified by "ngx_test"; flush privileges;'
72+
- mysql -uroot -e "create database ngx_test; CREATE USER 'ngx_test'@'%' IDENTIFIED WITH mysql_native_password BY 'ngx_test'; grant all on ngx_test.* to 'ngx_test'@'%'; flush privileges;"
6973

7074
script:
7175
- tar xzf download-cache/drizzle7-2011.07.21.tar.gz && cd drizzle7-2011.07.21

0 commit comments

Comments
 (0)