From 75fe23cea5e9a7ed166bdbde10270d0680f26a4a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 13 Aug 2016 13:12:41 +0200 Subject: [PATCH] diverse pecl config seems to be wrongly using 5.6.x instead of 5.4.x --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 794a3c147b..1cb2ef5549 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,9 @@ before_script: "5.4") php -m; pecl config-show; - pecl config-set ext_dir ~/.phpenv/versions/$(phpenv version-name)/lib/php/extensions/no-debug-zts-20121212; + which pecl; + pecl config-show|grep /5.6|cut -c 32|sed 's/5\.6\.[0-9]*/'$(phpenv version-name)'5.4.45/g'|xargs -t -L 1 pecl config-set; + pecl config-show; yes "" | pecl install memcache; yes "" | pecl install apcu-4.0.11; phpenv config-add apcu;