mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
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
This commit is contained in:
parent
913960a1d5
commit
77e43a3108
16
.travis.yml
16
.travis.yml
@ -18,21 +18,21 @@ matrix:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
- memcached
|
- memcached
|
||||||
- mysql
|
# - mysql
|
||||||
# - postgres
|
# - postgres
|
||||||
|
|
||||||
|
addons:
|
||||||
|
mariadb: '10.0'
|
||||||
|
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: trusty
|
dist: trusty
|
||||||
# this fixes hhvm builds according to https://docs.travis-ci.com/user/languages/php#HHVM-versions-on-Trusty
|
# this fixes hhvm builds according to https://docs.travis-ci.com/user/languages/php#HHVM-versions-on-Trusty
|
||||||
group: edge
|
group: edge
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ] || [ $(echo "$TRAVIS_PHP_VERSION 7.0" | tr " " "\n" | sort -V | head -n1) = "7.0" ];
|
- pecl install apcu
|
||||||
then
|
- pecl install memcache
|
||||||
phpenv config-add .travis.php7.ini;
|
- echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||||
else
|
|
||||||
phpenv config-add .travis.ini;
|
|
||||||
fi
|
|
||||||
- php -m
|
- php -m
|
||||||
# - mysql -e 'create database egroupware'
|
# - mysql -e 'create database egroupware'
|
||||||
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
|
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
|
||||||
@ -47,7 +47,7 @@ before_script:
|
|||||||
- sudo chown travis /var/lib/egroupware
|
- sudo chown travis /var/lib/egroupware
|
||||||
|
|
||||||
script:
|
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
|
- mysql -e 'show tables' egroupware
|
||||||
# Ubuntu has problems with #!/usr/bin/env php -dapc.enable=1, it stalls forever
|
# Ubuntu has problems with #!/usr/bin/env php -dapc.enable=1, it stalls forever
|
||||||
- php -dapc.enable_cli=1 doc/test-cli.php
|
- php -dapc.enable_cli=1 doc/test-cli.php
|
||||||
|
Loading…
x
Reference in New Issue
Block a user