Skip to content

Commit 2c1bfef

Browse files
tests: update nginx to 1.25.3.
1 parent 32188f8 commit 2c1bfef

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

@@ -20,8 +24,8 @@ env:
2024
- NGX_BUILD_JOBS=$JOBS
2125
- TEST_NGINX_SLEEP=0.006
2226
matrix:
23-
- NGINX_VERSION=1.17.8
24-
- NGINX_VERSION=1.19.9
27+
- NGINX_VERSION=1.25.3
28+
#- NGINX_VERSION=1.21.4
2529

2630
addons:
2731
apt:
@@ -42,7 +46,7 @@ cache:
4246
- download-cache
4347

4448
install:
45-
- git clone https://github.com/openresty/nginx-devel-utils.git
49+
- git clone https://github.com/openresty/openresty-devel-utils.git
4650
- git clone https://github.com/openresty/openresty.git ../openresty
4751
- git clone https://github.com/openresty/no-pool-nginx.git ../no-pool-nginx
4852
- git clone https://github.com/simpl/ngx_devel_kit.git ../ndk-nginx-module
@@ -57,7 +61,7 @@ script:
5761
- make -j$JOBS CCDEBUG=-g Q= PREFIX=$LUAJIT_PREFIX CC=$CC XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' > build.log 2>&1 || (cat build.log && exit 1)
5862
- sudo make install PREFIX=$LUAJIT_PREFIX > build.log 2>&1 || (cat build.log && exit 1)
5963
- cd ../test-nginx && sudo cpanm . && cd ..
60-
- export PATH=$PWD/work/nginx/sbin:$PWD/nginx-devel-utils:$PATH
64+
- export PATH=$PWD/work/nginx/sbin:$PWD/openresty-devel-utils:$PATH
6165
- export NGX_BUILD_CC=$CC
6266
- sh util/build.sh $NGINX_VERSION > build.log 2>&1 || (cat build.log && exit 1)
6367
- nginx -V

0 commit comments

Comments
 (0)