public function setUp()
 {
     parent::setUp();
     if (getenv('TRAVIS')) {
         $this->settings = (require __DIR__ . '/config_travis.php');
     } else {
         if (is_file(__DIR__ . '/config_local.php')) {
             $this->settings = (require __DIR__ . '/config_local.php');
         } else {
             $this->settings = ['default' => ['class' => '\\Mindy\\Query\\Connection', 'dsn' => 'sqlite::memory:']];
         }
     }
     $this->manager = new ConnectionManager(['databases' => $this->settings]);
     ConnectionManager::$defaultDatabase = $this->driver;
     $this->initModels($this->getModels());
 }