From 1e3d12787c1743b478fcce421ddfe2bd728a1c99 Mon Sep 17 00:00:00 2001 From: David Beitey <david@davidjb.com> Date: Thu, 11 Feb 2016 18:13:33 +1000 Subject: [PATCH] Configure Perl library path for user install --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 443f81d..735540a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ env: before_install: - sudo apt-get install -qq libpcre3-dev libssl-dev - sudo apt-get install -qq perl - - sudo env PERL_MM_USE_DEFAULT=1 cpan -fi Test::Nginx::Socket + - env PERL_MM_USE_DEFAULT=1 cpan -fi Test::Nginx::Socket cache: ccache script: | wget -O - http://nginx.org/download/nginx-${NGINX}.tar.gz | tar -xzf - @@ -19,4 +19,5 @@ script: | cd .. export PATH=$(pwd)/nginx-${NGINX}/objs/:$PATH + eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib) prove -- GitLab