Skip to content

Commit

Permalink
set right credentials for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
pscheit committed Oct 29, 2013
1 parent 5ab605c commit 06e1091
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions etc/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 06e1091

Please sign in to comment.