diff --git a/.travis.yml b/.travis.yml index 85ad1b94..87e4e371 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,7 @@ install: # Create the database schema for shimmie. - if [[ "$DB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS shimmie;" -U postgres; fi - if [[ "$DB" == "pgsql" ]]; then psql -c "CREATE DATABASE shimmie;" -U postgres; fi + - if [[ "$DB" == "mysql" ]]; then mysql -e "SET GLOBAL general_log = 'ON';" -uroot; fi - if [[ "$DB" == "mysql" ]]; then mysql -e "CREATE DATABASE shimmie;" -uroot; fi script: @@ -36,6 +37,7 @@ after_failure: - sudo cat data/config/shimmie.conf.php - sudo cat data/config/extensions.conf.php - sudo cat /var/log/php5-fpm.log + - sudo cat -f /var/log/mysql/mysql.log # configure notifications (email, IRC, campfire etc) #notifications: