diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-02-07 00:07:59 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-02-07 00:07:59 +0100 |
commit | c56db535b4f0c943777ab159c14729d724f5d232 (patch) | |
tree | 56a63ae78f97a990d3ca1512c5333aebd467895a /travis/install-php-extensions.sh | |
parent | 11aff559d4fcde5c2935aa6ebdfcfbe162d91f64 (diff) | |
parent | effaef6bddf49b9016d66bd64706392fcdb452b3 (diff) | |
download | forums-c56db535b4f0c943777ab159c14729d724f5d232.tar forums-c56db535b4f0c943777ab159c14729d724f5d232.tar.gz forums-c56db535b4f0c943777ab159c14729d724f5d232.tar.bz2 forums-c56db535b4f0c943777ab159c14729d724f5d232.tar.xz forums-c56db535b4f0c943777ab159c14729d724f5d232.zip |
Merge branch 'develop' of https://github.com/phpbb/phpbb3 into feature/avatars
Conflicts:
phpBB/config/services.yml
Diffstat (limited to 'travis/install-php-extensions.sh')
-rwxr-xr-x | travis/install-php-extensions.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/travis/install-php-extensions.sh b/travis/install-php-extensions.sh new file mode 100755 index 0000000000..55955c2905 --- /dev/null +++ b/travis/install-php-extensions.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# +# @copyright (c) 2013 phpBB Group +# @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +# +set -e + +function add_ext_to_php_ini +{ + echo "extension=$1.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` +} + +# redis +git clone git://github.com/nicolasff/phpredis.git +cd phpredis +phpize +./configure +make +make install +cd .. +add_ext_to_php_ini 'redis' |