mysql in travis
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ APP_LOG_LEVEL=debug
|
|||||||
APP_URL=http://localhost
|
APP_URL=http://localhost
|
||||||
APP_SETTINGS_STORE=json
|
APP_SETTINGS_STORE=json
|
||||||
|
|
||||||
DB_CONNECTION=unittest
|
DB_CONNECTION=travis
|
||||||
DB_HOST=127.0.0.1
|
DB_HOST=127.0.0.1
|
||||||
DB_PORT=3306
|
DB_PORT=3306
|
||||||
DB_DATABASE=phpvms
|
DB_DATABASE=phpvms
|
||||||
|
|||||||
@@ -33,6 +33,20 @@ return [
|
|||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'travis' => [
|
||||||
|
'driver' => 'mysql',
|
||||||
|
'host' => env('DB_HOST'),
|
||||||
|
'port' => env('DB_PORT'),
|
||||||
|
'database' => env('DB_DATABASE'),
|
||||||
|
'username' => env('DB_USERNAME'),
|
||||||
|
'password' => env('DB_PASSWORD'),
|
||||||
|
'charset' => 'utf8',
|
||||||
|
'collation' => 'utf8_unicode_ci',
|
||||||
|
'prefix' => '',
|
||||||
|
'strict' => true,
|
||||||
|
'engine' => null,
|
||||||
|
],
|
||||||
|
|
||||||
'testing' => [
|
'testing' => [
|
||||||
'driver' => 'sqlite',
|
'driver' => 'sqlite',
|
||||||
'database' => ':memory:',
|
'database' => ':memory:',
|
||||||
|
|||||||
Reference in New Issue
Block a user