seems ext_dir is set wrong in new Travis images for PHP 5.4 (it is set to 5.6 path)

This commit is contained in:
Ralf Becker 2016-08-13 12:30:05 +02:00
parent b27e6e8a6d
commit 4e9e5a3e51

View File

@ -30,12 +30,14 @@ before_script:
- case $(phpenv version-name) in - case $(phpenv version-name) in
"5.4") "5.4")
php -m; php -m;
pecl config-show;
pecl config-set ext_dir ~/.phpenv/versions/$(phpenv version-name)/lib/php/extensions/no-debug-zts-20121212;
yes "" | pecl install memcache; yes "" | pecl install memcache;
yes "" | pecl install apcu-4.0.11; yes "" | pecl install apcu-4.0.11;
phpenv config-add apcu; phpenv config-add apcu;
yes "" | pecl install igbinary; yes "" | pecl install igbinary;
phpenv config-add igbinary.so; phpenv config-add igbinary.so;
phpenv config-add memcached.so; echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
phpenv config-rm xdebug.ini; phpenv config-rm xdebug.ini;
php -m; php -m;
;; ;;
@ -43,12 +45,12 @@ before_script:
yes "" | pecl install memcache; yes "" | pecl install memcache;
yes "" | pecl install apcu-4.0.11; yes "" | pecl install apcu-4.0.11;
yes "" | pecl install igbinary; yes "" | pecl install igbinary;
phpenv config-add memcached.so; echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
phpenv config-rm xdebug.ini; phpenv config-rm xdebug.ini;
;; ;;
"7") "7")
yes "" | pecl install apcu; yes "" | pecl install apcu;
phpenv config-add memcached.so; echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
phpenv config-rm xdebug.ini; phpenv config-rm xdebug.ini;
;; ;;
"hhvm") "hhvm")