diff --git a/etc/config.php b/etc/config.php index 450d5a4..be8ab48 100644 --- a/etc/config.php +++ b/etc/config.php @@ -7,6 +7,11 @@ $conf['db']['default']['port'] = NULL; $conf['db']['default']['charset'] = 'utf8'; +if (getenv('TRAVIS') === 'true') { + $conf['db']['default']['user'] = 'root'; + $conf['db']['default']['database'] = ''; +} + $conf['db']['tests'] = $conf['db']['default']; $conf['db']['tests']['database'] = $project->getLowerName().'_tests';