Dump logs on failure.

This commit is contained in:
jgen 2014-02-18 03:42:59 -05:00
parent 222d82b3c3
commit bc98d284c7

View File

@ -24,9 +24,13 @@ before_script:
script: php tests/test_install.php -d $DB
# If a failure occured then dump out a bunch of logs for debugging purposes.
after_failure:
- sudo cat /etc/nginx/sites-enabled/default
- sudo cat /var/log/nginx/error.log
- sudo cat /var/log/php_errors.log
- ls /var/log
- sudo php -i
# configure notifications (email, IRC, campfire etc)
#notifications: