Skip to content

Commit

Permalink
chore(ci) new cpan install
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Aug 2, 2016
1 parent 0802ef2 commit 707915f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .ci/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@ if [ "$OPENRESTY_TESTS" = true ]; then
# -------------------
# Install Test::Nginx
# -------------------
git clone git://github.com/travis-perl/helpers travis-perl-helpers
pushd travis-perl-helpers
source ./init
popd
cpan-install Test::Nginx::Socket
curl -L https://cpanmin.us | perl - App::cpanminus
$PERL_DIR/bin/cpanm Test::Nginx::Socket
$PERL_DIR/bin/cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
else
# -------------------------
# Install test dependencies
Expand Down
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:
global:
- OPENRESTY=1.9.15.1
- OPENRESTY_DIR=$HOME/openresty
- PERL_DIR=$HOME/perl5
- LUA_DIR=$HOME/lua
matrix:
- LUA="lua 5.1"
Expand All @@ -40,5 +41,6 @@ cache:
apt: true
pip: true
directories:
- $PERL_DIR
- $OPENRESTY_DIR
- $HOME/.ccm/repository/

0 comments on commit 707915f

Please sign in to comment.