Skip to content

Commit 64effe8

Browse files
tests: update nginx to 1.25.3.
1 parent da0c1e8 commit 64effe8

File tree

1 file changed

+28
-13
lines changed

1 file changed

+28
-13
lines changed

.travis.yml

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
dist: bionic
1+
dist: focal
2+
3+
branches:
4+
only:
5+
- "master"
26

37
os: linux
48

@@ -13,8 +17,19 @@ compiler:
1317
addons:
1418
apt:
1519
packages:
16-
- axel
17-
- curl
20+
- ack
21+
- axel
22+
- cpanminus
23+
- libtest-base-perl
24+
- libtext-diff-perl
25+
- liburi-perl
26+
- libwww-perl
27+
- libtest-longstring-perl
28+
- liblist-moreutils-perl
29+
- libgd-dev
30+
- time
31+
- cmake
32+
- curl
1833

1934
before_cache:
2035
- docker save -o docker_images/images.tar $(docker images -a -q)
@@ -40,13 +55,13 @@ env:
4055
- OPENSSL_INC=$OPENSSL_PREFIX/include
4156
- OPENSSL_VER=1.1.1l
4257
jobs:
43-
- NGINX_VERSION=1.21.4 DB_VERSION=mysql:5.7
44-
- NGINX_VERSION=1.21.4 DB_VERSION=mysql:8.0
45-
- NGINX_VERSION=1.21.4 DB_VERSION=mariadb:5.5
46-
- NGINX_VERSION=1.21.4 DB_VERSION=mariadb:10.0
47-
- NGINX_VERSION=1.21.4 DB_VERSION=mariadb:10.1
48-
- NGINX_VERSION=1.21.4 DB_VERSION=mariadb:10.2
49-
- NGINX_VERSION=1.21.4 DB_VERSION=mariadb:10.3
58+
- NGINX_VERSION=1.25.3 DB_VERSION=mysql:5.7
59+
- NGINX_VERSION=1.25.3 DB_VERSION=mysql:8.0
60+
- NGINX_VERSION=1.25.3 DB_VERSION=mariadb:5.5
61+
- NGINX_VERSION=1.25.3 DB_VERSION=mariadb:10.0
62+
- NGINX_VERSION=1.25.3 DB_VERSION=mariadb:10.1
63+
- NGINX_VERSION=1.25.3 DB_VERSION=mariadb:10.2
64+
- NGINX_VERSION=1.25.3 DB_VERSION=mariadb:10.3
5065

5166
install:
5267
- if [ ! -d download-cache ]; then mkdir download-cache; fi
@@ -66,7 +81,7 @@ install:
6681

6782
before_script:
6883
- docker load -i docker_images/images.tar || true
69-
- sudo service mysql stop
84+
- sudo systemctl stop mysql
7085
- ./.travis/initializedb.sh
7186
- cd luajit2/
7287
- make -j$JOBS CCDEBUG=-g Q= PREFIX=$LUAJIT_PREFIX CC=$CC XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT -msse4.2' > build.log 2>&1 || (cat build.log && exit 1)
@@ -83,5 +98,5 @@ script:
8398
- cd lua-cjson && (LUA_INCLUDE_DIR=$LUAJIT_INC make && sudo PATH=$PATH make install) || (cat build.log && exit 1) && cd ..
8499
- export PATH=$PWD/work/nginx/sbin:$PWD/nginx-devel-utils:$PATH
85100
- ngx-build $NGINX_VERSION --with-ipv6 --with-http_realip_module --with-http_ssl_module --with-cc-opt="-I$OPENSSL_INC" --with-ld-opt="-L$OPENSSL_LIB -Wl,-rpath,$OPENSSL_LIB" --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --add-module=../lua-nginx-module --add-module=../stream-lua-nginx-module --with-debug > build.log 2>&1 || (cat build.log && exit 1)
86-
- TEST_SUBSYSTEM=http prove -I. -r t
87-
- TEST_SUBSYSTEM=stream prove -I. -r t
101+
- TEST_SUBSYSTEM=http prove -I. -I./test-nginx/inc -I./test-nginx/lib -r t
102+
- TEST_SUBSYSTEM=stream prove -I. -I./test-nginx/inc -I./test-nginx/lib -r t

0 commit comments

Comments
 (0)