From 23e1c32e68f86d569b55ed12a74e50f368d77526 Mon Sep 17 00:00:00 2001 From: Raymond Kolbe Date: Sat, 29 Oct 2016 20:55:32 -0400 Subject: [PATCH] Travis experiment #6 --- .travis/application.config.php | 23 ----------------------- .travis/composer.json | 7 ------- tests/Bootstrap.php | 15 --------------- 3 files changed, 45 deletions(-) delete mode 100644 .travis/application.config.php delete mode 100644 .travis/composer.json diff --git a/.travis/application.config.php b/.travis/application.config.php deleted file mode 100644 index 4571013..0000000 --- a/.travis/application.config.php +++ /dev/null @@ -1,23 +0,0 @@ - array( - 'Application', - 'DOMPDFModule', - ), - 'module_listener_options' => array( - 'config_glob_paths' => array( - 'config/autoload/{,*.}{global,local}.php', - ), - 'config_cache_enabled' => false, - 'cache_dir' => 'data/cache', - 'module_paths' => array( - './module', - './vendor', - ), - ), - 'service_manager' => array( - 'use_defaults' => true, - 'factories' => array( - ), - ), -); diff --git a/.travis/composer.json b/.travis/composer.json deleted file mode 100644 index 5293502..0000000 --- a/.travis/composer.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "minimum-stability": "dev", - "require": { - "php": ">=5.3.3", - "dino/dompdf-module": "dev-master" - } -} diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index 605f3b5..554acfe 100644 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -7,21 +7,6 @@ error_reporting(E_ALL | E_STRICT); -chdir(__DIR__); - -$previousDir = '.'; -while (!file_exists('config/application.config.php')) { - $dir = dirname(getcwd()); - if ($previousDir === $dir) { - throw new RuntimeException( - 'Unable to locate "config/application.config.php": ' . - 'is DOMPDFModule in a subdir of your application skeleton?' - ); - } - $previousDir = $dir; - chdir($dir); -} - if (is_readable(__DIR__ . '/TestConfiguration.php')) { $configuration = include_once __DIR__ . '/TestConfiguration.php'; } else {