aboutsummaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-03-30 03:37:25 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-03-30 15:43:55 +0200
commit297729aa324710f9547fb5dc7a8bbcdf85049d21 (patch)
tree9a2c376ef90412b3a21a7a7f55ad9f3ed5a886f9 /travis
parente1be4943d8b8840f05d9a2b9781d85322050977b (diff)
downloadforums-297729aa324710f9547fb5dc7a8bbcdf85049d21.tar
forums-297729aa324710f9547fb5dc7a8bbcdf85049d21.tar.gz
forums-297729aa324710f9547fb5dc7a8bbcdf85049d21.tar.bz2
forums-297729aa324710f9547fb5dc7a8bbcdf85049d21.tar.xz
forums-297729aa324710f9547fb5dc7a8bbcdf85049d21.zip
[ticket/12318] Use MySQL instead of MySQLi for now on HHVM.
PHPBB3-12318
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/setup-webserver.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/travis/setup-webserver.sh b/travis/setup-webserver.sh
index 0dceead565..9802fab749 100755
--- a/travis/setup-webserver.sh
+++ b/travis/setup-webserver.sh
@@ -29,6 +29,10 @@ then
sudo apt-get -o Dpkg::Options::="--force-confnew" \
install -y hhvm=3.0.0~precise
+ # MySQLi is broken in HHVM 3.0.0~precise and still does not work for us in
+ # 2014.03.28~saucy, i.e. needs more work. Use MySQL extension for now.
+ sed -i "s/mysqli/mysql/" "$DIR/phpunit-mysql-travis.xml"
+
HHVM_LOG=$(realpath "$DIR")/hhvm.log
sudo hhvm \