diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-05-18 07:21:22 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-05-18 07:21:22 +0400 |
commit | 316d9f44a23a57dc1515031b962d63417d2affee (patch) | |
tree | 5d203e216eedc9c769ed93e9b40ec26c9bb2947f /.travis.yml | |
parent | d137479f0ae24da0a416a741d7de61dabe58ee13 (diff) |
Really enable the STRICT_TRANS_TABLES, let's see if any of our tests fail
Refs https://github.com/piwik/piwik/pull/279
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
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 |