mysql in travis

This commit is contained in:
Nabeel Shahzad
2017-12-01 22:31:10 -06:00
parent 2eb0d513f9
commit 6b1e52f70b
2 changed files with 15 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ APP_LOG_LEVEL=debug
APP_URL=http://localhost
APP_SETTINGS_STORE=json
DB_CONNECTION=unittest
DB_CONNECTION=travis
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=phpvms

View File

@@ -33,6 +33,20 @@ return [
'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' => [
'driver' => 'sqlite',
'database' => ':memory:',