add MariaDB 10.0 environment to travis (#17460, #19344)

git-svn-id: http://svn.redmine.org/redmine/trunk@14077 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2015-03-14 06:31:44 +00:00
parent c1c75a449e
commit fadbadd95b
2 changed files with 18 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ file 'config/database.yml' do
test_db_name = "ci_#{branch}_#{ruby}_test"
case database
when 'mysql'
when /(mysql|mariadb)/
dev_conf = {'adapter' => 'mysql2',
'database' => dev_db_name, 'host' => 'localhost',
'encoding' => 'utf8'}