diff --git a/.travis.yml b/.travis.yml index 440640924c..3c2d93707d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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