From cb2eee1d2e82be62118482fb2668561c193a012b Mon Sep 17 00:00:00 2001 From: Klaus Weidenbach Date: Fri, 27 Jan 2017 21:56:21 +0100 Subject: :construction_worker: Add old MySQL 5.5 to Travis CI again. The trusty distro contains MySQL 5.6. Add a precise distro with MySQL 5.5. Unfortunately 5.7 is not yet provided, which would be interesting because of the enabled strict SQL mode. --- tests/phpunit-mysql.xml | 2 +- tests/travis/prepare_mysql.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/phpunit-mysql.xml b/tests/phpunit-mysql.xml index b421d7a7b..9ba40f087 100644 --- a/tests/phpunit-mysql.xml +++ b/tests/phpunit-mysql.xml @@ -6,7 +6,7 @@ beStrictAboutOutputDuringTests="true" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutTodoAnnotatedTests="true" - processIsolation="true" + processIsolation="false" verbose="true"> ./unit/ diff --git a/tests/travis/prepare_mysql.sh b/tests/travis/prepare_mysql.sh index 96a562ac3..92c720205 100755 --- a/tests/travis/prepare_mysql.sh +++ b/tests/travis/prepare_mysql.sh @@ -31,6 +31,8 @@ echo "Preparing for MySQL ..." mysql --version mysql -e "SELECT VERSION();" mysql -e "SHOW VARIABLES LIKE 'max_allowed_packet';" +mysql -e "SHOW VARIABLES LIKE 'collation_%';" +mysql -e "SHOW VARIABLES LIKE 'character_set%';" mysql -e "SELECT @@sql_mode;" # Create Hubzilla database -- cgit v1.2.3