Skip to content

Commit 108b951

Browse files
authored
Merge pull request #6 from chipitsine/master
travis-ci: added nginx-1.11.2 to build matrix, moved package management under "apt" plugin.
2 parents 746792a + f39ef8e commit 108b951

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.travis.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ cache:
1111

1212
addons:
1313
apt:
14-
packages:
15-
- mysql-server
14+
packages: [ mysql-server, axel, cpanminus, libtest-base-perl, libtext-diff-perl, liburi-perl, libwww-perl, libtest-longstring-perl, liblist-moreutils-perl ]
1615

1716
compiler:
1817
- gcc
@@ -31,16 +30,13 @@ env:
3130
- TEST_NGINX_SLEEP=0.006
3231
matrix:
3332
- NGINX_VERSION=1.9.15
33+
- NGINX_VERSION=1.11.2
3434

3535
services:
3636
- postgresql
3737

38-
before_install:
39-
- 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)
40-
4138
install:
42-
- if [ ! -d download-cache ]; then mkdir download-cache; fi
43-
- if [ ! -f download-cache/drizzle7-2011.07.21.tar.gz ]; then wget -O download-cache/drizzle7-2011.07.21.tar.gz http://openresty.org/download/drizzle7-2011.07.21.tar.gz; fi
39+
- 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
4440
- git clone https://github.com/openresty/nginx-devel-utils.git
4541
- git clone https://github.com/openresty/openresty.git ../openresty
4642
- git clone https://github.com/openresty/no-pool-nginx.git ../no-pool-nginx

0 commit comments

Comments
 (0)