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);