mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fixing php extension build for Travis
This commit is contained in:
parent
1d61c64e07
commit
95e3bce4b7
@ -1,4 +0,0 @@
|
||||
|
||||
extension=apcu.so
|
||||
extension=memcache.so
|
||||
extension=memcached.so
|
@ -1,4 +0,0 @@
|
||||
|
||||
extension=apcu.so
|
||||
extension=memcache.so
|
||||
extension=memcached.so
|
13
.travis.yml
13
.travis.yml
@ -32,19 +32,26 @@ group: edge
|
||||
before_script:
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -y myrepos libpcre3-dev
|
||||
- echo $(phpenv version-name)
|
||||
- case $(phpenv version-name) in
|
||||
"5.4"|"5.5"|"5.6")
|
||||
"5.4")
|
||||
yes "" | pecl install memcache
|
||||
echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
yes "" | pecl install apcu-4.0.11;
|
||||
echo "extension=apcu.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
|
||||
yes "" | pecl install igbinary;
|
||||
echo "extension=igbinary.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
|
||||
;;
|
||||
"5.5"|"5.6")
|
||||
yes "" | pecl install memcache
|
||||
yes "" | pecl install apcu-4.0.11;
|
||||
yes "" | pecl install igbinary;
|
||||
;;
|
||||
"7.0")
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user