diff --git a/.travis.yml b/.travis.yml index fd8a6400968..3f16ed11ccd 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