Skip to content

Commit 775576d

Browse files
authored
tests: fixed test failures caused by using non-perlbrew cpanm in travis.
1 parent 78e5020 commit 775576d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ env:
3333
install:
3434
- if [ ! -d download-cache ]; then mkdir download-cache; fi
3535
- if [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -O download-cache/openssl-$OPENSSL_VER.tar.gz https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz; fi
36-
- sudo apt-get install -qq -y cpanminus axel
37-
- sudo cpanm --notest Test::Nginx > build.log 2>&1 || (cat build.log && exit 1)
36+
- sudo apt-get install -qq -y axel
37+
- cpanm --sudo --notest Test::Nginx > build.log 2>&1 || (cat build.log && exit 1)
3838
- wget http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz
3939
- git clone https://github.com/openresty/openresty.git ../openresty
4040
- git clone https://github.com/openresty/nginx-devel-utils.git

0 commit comments

Comments
 (0)