fixing php extension installs

This commit is contained in:
Ralf Becker 2016-07-12 21:54:14 +02:00
parent 77e43a3108
commit 7bf9034e53

View File

@ -30,9 +30,18 @@ dist: trusty
group: edge
before_script:
- pecl install apcu
- pecl install memcache
- echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo $(phpenv version-name)
- case $(phpenv version-name) in;
"5.4"|"5.5"|"5.6")
yes "" | pecl install apcu-4.0.11
yes "" | pecl install igbinary
;;
"7.0")
yes "" | pecl install apcu
;;
esac
- yes "" | pecl install memcache
- php -m
# - mysql -e 'create database egroupware'
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini