From f720b9fb419cc87a3e1338a6fa9f26ecac362e67 Mon Sep 17 00:00:00 2001
From: Matthieu Aubry <matt@piwik.org>
Date: Wed, 20 Aug 2014 23:07:41 +0200
Subject: [PATCH] refs #6028 run tests with STRICT_TRANS_TABLES sqlmode

---
 plugins/CoreConsole/templates/travis.yml.twig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/CoreConsole/templates/travis.yml.twig b/plugins/CoreConsole/templates/travis.yml.twig
index 33a9ece8b3..c2e52defad 100644
--- a/plugins/CoreConsole/templates/travis.yml.twig
+++ b/plugins/CoreConsole/templates/travis.yml.twig
@@ -103,7 +103,7 @@ before_script:
   - mysql -e "SELECT VERSION();"
 
   # configure mysql
-  - mysql -e "SET GLOBAL sql_mode = 'NO_ENGINE_SUBSTITUTION,ONLY_FULL_GROUP_BY'" # Travis default
+  - mysql -e "SET GLOBAL sql_mode = 'NO_ENGINE_SUBSTITUTION,ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES'" # Travis default
 
   # Uncomment to enable sql_mode STRICT_TRANS_TABLES (new default in Mysql 5.6)
   #- mysql -e "SET GLOBAL sql_mode = 'NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES'"
@@ -163,4 +163,4 @@ after_success:
 
 
 {{ extraSections|trim|raw }}
-{%- endif -%}
\ No newline at end of file
+{%- endif -%}
-- 
GitLab