1
- dist : bionic
1
+ dist : focal
2
+
3
+ branches :
4
+ only :
5
+ - " master"
2
6
3
7
os : linux
4
8
@@ -13,8 +17,19 @@ compiler:
13
17
addons :
14
18
apt :
15
19
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
18
33
19
34
before_cache :
20
35
- docker save -o docker_images/images.tar $(docker images -a -q)
40
55
- OPENSSL_INC=$OPENSSL_PREFIX/include
41
56
- OPENSSL_VER=1.1.1l
42
57
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
50
65
51
66
install :
52
67
- if [ ! -d download-cache ]; then mkdir download-cache; fi
@@ -66,7 +81,7 @@ install:
66
81
67
82
before_script :
68
83
- docker load -i docker_images/images.tar || true
69
- - sudo service mysql stop
84
+ - sudo systemctl stop mysql
70
85
- ./.travis/initializedb.sh
71
86
- cd luajit2/
72
87
- 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:
83
98
- cd lua-cjson && (LUA_INCLUDE_DIR=$LUAJIT_INC make && sudo PATH=$PATH make install) || (cat build.log && exit 1) && cd ..
84
99
- export PATH=$PWD/work/nginx/sbin:$PWD/nginx-devel-utils:$PATH
85
100
- 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