Skip to content

Commit

Permalink
Fix CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
timw4mail committed May 29, 2012
1 parent 35b21c3 commit 2b0d1c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@

foreach(pdo_drivers() as $d)
{
// PDO firebird isn't stable enough to
// PDO firebird isn't stable enough to
// bother, so skip it.
if ($d === 'firebird')
{
continue;
}

$src_dir = "{$test_path}{$d}";

if(is_dir($src_dir))
{
require_once("{$test_path}{$d}/{$d}.php");
Expand All @@ -57,7 +57,7 @@
}

// Load Firebird if there is support
if(function_exists('fbird_connect'))
if (function_exists('fbird_connect') && ! ($var = getenv('CI')))
{
require_once("{$test_path}/firebird/firebird.php");
require_once("{$test_path}/firebird/firebird-qb.php");
Expand Down

0 comments on commit 2b0d1c2

Please sign in to comment.