Cat mariadb logs after failure

We get intermittent failures on Travis where mariadb times out writes. Travis
support recommended we start catting the logs after a failure to see if there's
anything useful.
This commit is contained in:
Jacob Hoffman-Andrews 2016-03-09 00:04:08 -08:00
parent 2e2a7b6736
commit b5cc545b48
1 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,7 @@ addons:
- rsyslog
mariadb: "10.0"
sudo: false
sudo: true
services:
- rabbitmq
@ -60,3 +60,6 @@ env:
script:
- bash test.sh
after_failure:
- sudo cat /var/log/mysql/error.log
- ps aux | grep mysql