From 491069540e935706219ab1e3e36416c05b7411ad Mon Sep 17 00:00:00 2001 From: jgen Date: Tue, 18 Feb 2014 20:08:23 -0500 Subject: [PATCH] Output the shimmie config on failure. --- .travis.yml | 2 ++ tests/all_tests.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 62d1ecb2..5ba54d4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,8 @@ script: php tests/all_tests.php -d $DB after_failure: - sudo cat /etc/nginx/sites-enabled/default - sudo cat /var/log/nginx/error.log + - sudo cat data/config/shimmie.conf.php + - sudo cat data/config/extensions.conf.php - sudo cat /var/log/php5-fpm.log - sudo cat /var/log/mysql.log - sudo cat /var/log/mysql.err diff --git a/tests/all_tests.php b/tests/all_tests.php index 971a142c..fdf9f0c4 100644 --- a/tests/all_tests.php +++ b/tests/all_tests.php @@ -41,7 +41,7 @@ $files = array_merge(zglob("core/*.php"), zglob("ext/{".ENABLED_EXTS."}/main.php foreach($files as $filename) { require_once $filename; } - + // connect to the database $database = new Database(); $config = new DatabaseConfig($database);