mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-27 10:36:11 +02:00
ea23e5d3fe
various other travis fixes, skipping etc
20 lines
436 B
PHP
20 lines
436 B
PHP
<?php
|
|
|
|
if ( ! extension_loaded("phongo")) {
|
|
exit("skip phongo not loaded");
|
|
}
|
|
|
|
require __DIR__ . "/" . "basic.inc";
|
|
$testdir = basename(dirname(realpath($_SERVER["SCRIPT_FILENAME"])));
|
|
|
|
switch($testdir){
|
|
case "replicaset":
|
|
case "connect":
|
|
if (!$orch->ping() || getenv("TRAVIS") || !MONGODB_STANDALONE_AUTH_URI) {
|
|
exit("skip these tests in $testdir require Mongo Orchestration + vagrant");
|
|
}
|
|
break;
|
|
}
|
|
|
|
CLEANUP();
|