diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-02-27 21:40:02 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-02-27 21:40:02 +0100 |
commit | 96b1cabcf2fbc4955bab65a4931f1815548d4df4 (patch) | |
tree | 16e869447ba1560109604402449c57052ea33d06 /travis/install-php-extensions.sh | |
parent | 2f6b072bb13ce9d7c7784136bedec651b73ae11b (diff) | |
parent | 80bd78a5e5e1069773c05073cd47662a311bda79 (diff) | |
download | forums-96b1cabcf2fbc4955bab65a4931f1815548d4df4.tar forums-96b1cabcf2fbc4955bab65a4931f1815548d4df4.tar.gz forums-96b1cabcf2fbc4955bab65a4931f1815548d4df4.tar.bz2 forums-96b1cabcf2fbc4955bab65a4931f1815548d4df4.tar.xz forums-96b1cabcf2fbc4955bab65a4931f1815548d4df4.zip |
Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/11314
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' |