From bc98d284c7b8c75930a6f40f5b9cc918c5effea1 Mon Sep 17 00:00:00 2001 From: jgen Date: Tue, 18 Feb 2014 03:42:59 -0500 Subject: [PATCH] Dump logs on failure. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index a0efb482..675caf8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: