travis: add PostgreSQL environments

git-svn-id: http://svn.redmine.org/redmine/trunk@14530 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2015-08-30 04:53:56 +00:00
parent 4f6f2a7e27
commit 3b45b2e55c
2 changed files with 46 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ file 'config/database.yml' do
dev_conf['password'] = 'jenkins'
end
test_conf = dev_conf.merge('database' => test_db_name)
when 'postgresql'
when /postgresql/
dev_conf = {'adapter' => 'postgresql', 'database' => dev_db_name,
'host' => 'localhost'}
if ENV['RUN_ON_NOT_OFFICIAL']