From 77e43a3108d7fa1f87d2412db045720d91c20991 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 12 Jul 2016 21:16:37 +0200 Subject: [PATCH] seems memcached extension is provided but not enabled, installing apcu and memcache from pecl and using MariaDB: 10.0, also fix type in post_install call --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5e8e006406..36ceb80f0e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,21 +18,21 @@ matrix: services: - memcached - - mysql +# - mysql # - postgres +addons: + mariadb: '10.0' + sudo: required dist: trusty # this fixes hhvm builds according to https://docs.travis-ci.com/user/languages/php#HHVM-versions-on-Trusty group: edge before_script: - - if [ "$TRAVIS_PHP_VERSION" == "7.0" ] || [ $(echo "$TRAVIS_PHP_VERSION 7.0" | tr " " "\n" | sort -V | head -n1) = "7.0" ]; - then - phpenv config-add .travis.php7.ini; - else - phpenv config-add .travis.ini; - fi + - pecl install apcu + - pecl install memcache + - echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - php -m # - mysql -e 'create database egroupware' - rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini @@ -47,7 +47,7 @@ before_script: - sudo chown travis /var/lib/egroupware script: - - php doc/rpm-build/post_install.php --sourcedir `pwd` + - php doc/rpm-build/post_install.php --source_dir `pwd` - mysql -e 'show tables' egroupware # Ubuntu has problems with #!/usr/bin/env php -dapc.enable=1, it stalls forever - php -dapc.enable_cli=1 doc/test-cli.php