fixing php extension installs

This commit is contained in:
Ralf Becker 2016-07-12 22:08:49 +02:00
parent 7bf9034e53
commit ea32a474ba

View File

@ -30,24 +30,25 @@ dist: trusty
group: edge
before_script:
- echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo $(phpenv version-name)
- case $(phpenv version-name) in;
- sudo apt-get update -qq
- sudo apt-get install -y myrepos libprce3-dev
- case $(phpenv version-name) in
"5.4"|"5.5"|"5.6")
yes "" | pecl install apcu-4.0.11
yes "" | pecl install igbinary
yes "" | pecl install apcu-4.0.11;
yes "" | pecl install igbinary;
echo "extension=igbinary.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
;;
"7.0")
yes "" | pecl install apcu
yes "" | pecl install apcu;
;;
esac
- echo "extension=apcu.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- yes "" | pecl install memcache
- php -m
# - mysql -e 'create database egroupware'
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
#- composer update --prefer-source $LOWEST_DEPS
- sudo apt-get update -qq
- sudo apt-get install -y myrepos
- mr --trust-all --stats up
# installing phpunit in version suitable for used PHP version
- composer update phpunit/phpunit