aboutsummaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-11-25 21:33:42 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-11-25 21:33:42 +0100
commitc37e696c1cd13452a802d605f649852b055493ae (patch)
tree0146e4af2f1919ae0db80068d3ebc685f68b3687 /travis
parentc7d47e34e82128399e1b20b9f80a85f46c4cfd75 (diff)
downloadforums-c37e696c1cd13452a802d605f649852b055493ae.tar
forums-c37e696c1cd13452a802d605f649852b055493ae.tar.gz
forums-c37e696c1cd13452a802d605f649852b055493ae.tar.bz2
forums-c37e696c1cd13452a802d605f649852b055493ae.tar.xz
forums-c37e696c1cd13452a802d605f649852b055493ae.zip
[ticket/16223] Add memcached config and PHP extension
PHPBB3-16223
Diffstat (limited to 'travis')
-rw-r--r--travis/phpunit-mysqli-travis.xml1
-rw-r--r--travis/phpunit-postgres-travis.xml1
-rw-r--r--travis/phpunit-sqlite3-travis.xml1
-rwxr-xr-xtravis/setup-php-extensions.sh3
4 files changed, 6 insertions, 0 deletions
diff --git a/travis/phpunit-mysqli-travis.xml b/travis/phpunit-mysqli-travis.xml
index d2284086b9..0f064ab996 100644
--- a/travis/phpunit-mysqli-travis.xml
+++ b/travis/phpunit-mysqli-travis.xml
@@ -38,6 +38,7 @@
<server name="PHPBB_TEST_DBUSER" value="root" />
<server name="PHPBB_TEST_DBPASSWD" value="" />
<server name="PHPBB_TEST_REDIS_HOST" value="localhost" />
+ <server name="PHPBB_TEST_MEMCACHED_HOST" value="localhost" />
<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/>
<server name="PHPBB_FUNCTIONAL_URL" value="http://localhost/" />
</php>
diff --git a/travis/phpunit-postgres-travis.xml b/travis/phpunit-postgres-travis.xml
index 6faab4d61a..f9b8a6f595 100644
--- a/travis/phpunit-postgres-travis.xml
+++ b/travis/phpunit-postgres-travis.xml
@@ -38,6 +38,7 @@
<server name="PHPBB_TEST_DBUSER" value="postgres" />
<server name="PHPBB_TEST_DBPASSWD" value="" />
<server name="PHPBB_TEST_REDIS_HOST" value="localhost" />
+ <server name="PHPBB_TEST_MEMCACHED_HOST" value="localhost" />
<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/>
<server name="PHPBB_FUNCTIONAL_URL" value="http://localhost/" />
</php>
diff --git a/travis/phpunit-sqlite3-travis.xml b/travis/phpunit-sqlite3-travis.xml
index 633963c9fb..1b1fa24e7d 100644
--- a/travis/phpunit-sqlite3-travis.xml
+++ b/travis/phpunit-sqlite3-travis.xml
@@ -38,6 +38,7 @@
<!--server name="PHPBB_TEST_DBUSER" value="" /-->
<!--server name="PHPBB_TEST_DBPASSWD" value="" /-->
<server name="PHPBB_TEST_REDIS_HOST" value="localhost" />
+ <server name="PHPBB_TEST_MEMCACHED_HOST" value="localhost" />
<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/>
<server name="PHPBB_FUNCTIONAL_URL" value="http://localhost/" />
</php>
diff --git a/travis/setup-php-extensions.sh b/travis/setup-php-extensions.sh
index 851704213e..e122be0597 100755
--- a/travis/setup-php-extensions.sh
+++ b/travis/setup-php-extensions.sh
@@ -57,6 +57,9 @@ fi
# Disable xdebug on travis
phpenv config-rm xdebug.ini || true
+# memcached
+echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
+
# redis
# Disabled redis for now as it causes travis to fail
# git clone git://github.com/nicolasff/phpredis.git redis