Skip to content

Commit 80224b6

Browse files
committed
travis-ci: move package management under "apt" plugin, build on both nginx-1.9.15 and 1.11.2
1 parent 48be0ba commit 80224b6

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

.travis.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ compiler:
99
- gcc
1010
- clang
1111

12+
addons:
13+
apt:
14+
packages:
15+
- axel
16+
- cpanminus
17+
- libtest-base-perl
18+
- libtext-diff-perl
19+
- liburi-perl
20+
- libwww-perl
21+
- libtest-longstring-perl
22+
- liblist-moreutils-perl
23+
24+
cache:
25+
apt: true
26+
1227
env:
1328
global:
1429
- LUAJIT_PREFIX=/opt/luajit21
@@ -21,13 +36,11 @@ env:
2136
- NGX_BUILD_JOBS=$JOBS
2237
matrix:
2338
- NGINX_VERSION=1.9.15
39+
- NGINX_VERSION=1.11.2
2440

2541
services:
2642
- redis-server
2743

28-
before_install:
29-
- sudo apt-get install -qq -y axel cpanminus libtest-base-perl libtext-diff-perl liburi-perl libwww-perl libtest-longstring-perl liblist-moreutils-perl > build.log 2>&1 || (cat build.log && exit 1)
30-
3144
install:
3245
- git clone https://github.com/openresty/nginx-devel-utils.git
3346
- git clone https://github.com/openresty/openresty.git ../openresty

0 commit comments

Comments
 (0)