Added dependencies
Added a hack to work locally for me. May move to using composer to obtain / install vfsStream just didn't like the "vendor" directory, will look into using a custom directory so it can be hidden git ignored.
This commit is contained in:
parent
7c4e939e6e
commit
6b0fed32c6
2 changed files with 9 additions and 2 deletions
|
@ -2,6 +2,8 @@ language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- "5.5"
|
- "5.5"
|
||||||
- "5.4"
|
|
||||||
|
install:
|
||||||
|
- require mikey179/vfsStream:1.2.0
|
||||||
|
|
||||||
script: phpunit --bootstrap ./tests/bootstrap.php ./tests
|
script: phpunit --bootstrap ./tests/bootstrap.php ./tests
|
||||||
|
|
|
@ -2,7 +2,12 @@
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|
||||||
require_once '/usr/local/Cellar/php55/5.5.7/lib/php/vfsStream/vfsStream.php';
|
$vfs_file = '/usr/local/Cellar/php55/5.5.7/lib/php/vfsStream/vfsStream.php';
|
||||||
|
|
||||||
|
if (file_exists($vfs_file))
|
||||||
|
{
|
||||||
|
require_once $vfs_file;
|
||||||
|
}
|
||||||
|
|
||||||
$root = vfsStream::setup('site');
|
$root = vfsStream::setup('site');
|
||||||
define('SITE_PATH', vfsStream::url('site/'));
|
define('SITE_PATH', vfsStream::url('site/'));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue