Skip to content

Commit

Permalink
tests: update nginx to 1.25.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuizhuhaomeng committed Nov 23, 2023
1 parent fb6cf25 commit c631276
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
@@ -1,5 +1,9 @@
sudo: required
dist: bionic
dist: focal

branches:
only:
- "master"

os: linux

Expand Down Expand Up @@ -43,11 +47,11 @@ env:
- NGX_BUILD_JOBS=$JOBS
- TEST_NGINX_SLEEP=0.006
matrix:
- NGINX_VERSION=1.17.8
- NGINX_VERSION=1.19.9
- NGINX_VERSION=1.21.4
- NGINX_VERSION=1.25.3

install:
- 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
- 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
- git clone https://github.com/openresty/nginx-devel-utils.git
- git clone https://github.com/openresty/openresty.git ../openresty
- git clone https://github.com/openresty/no-pool-nginx.git ../no-pool-nginx
Expand All @@ -65,7 +69,7 @@ install:
- git clone https://github.com/openresty/openresty.git ../ngx_openresty

before_script:
- mysql -uroot -e 'create database ngx_test; grant all on ngx_test.* to "ngx_test"@"%" identified by "ngx_test"; flush privileges;'
- 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;"

script:
- tar xzf download-cache/drizzle7-2011.07.21.tar.gz && cd drizzle7-2011.07.21
Expand Down

0 comments on commit c631276

Please sign in to comment.