From 316d9f44a23a57dc1515031b962d63417d2affee Mon Sep 17 00:00:00 2001 From: mattab <matthieu.aubry@gmail.com> Date: Sun, 18 May 2014 15:21:22 +1200 Subject: [PATCH] Really enable the STRICT_TRANS_TABLES, let's see if any of our tests fail Refs https://github.com/piwik/piwik/pull/279 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index fd8a640096..3f16ed11cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -92,6 +92,8 @@ before_script: - "sudo /etc/init.d/mysql.server start" - mysql --version - mysql -e "SELECT VERSION();" + # Enable sql_mode STRICT_TRANS_TABLES as it is the new default in Mysql 5.6 + - mysql -e "SET GLOBAL sql_mode = 'NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES'" - mysql -e "SELECT @@sql_mode;" # Setup Piwik stack - ./tests/travis/initiate_ui_tests.sh -- GitLab