aboutsummaryrefslogtreecommitdiffstats
path: root/travis/setup-webserver.sh
diff options
context:
space:
mode:
Diffstat (limited to 'travis/setup-webserver.sh')
-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 \