[Travis] try run both db

This commit is contained in:
Dmitriy Zaporozhets 2012-05-25 16:38:23 +03:00
parent ddc7568fec
commit 8ceb94081a
2 changed files with 36 additions and 1 deletions

32
config/database.yml.mysql Normal file
View file

@ -0,0 +1,32 @@
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: gitlabhq_development
pool: 5
username: root
password: "secure password"
# socket: /tmp/mysql.sock
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: mysql2
encoding: utf8
reconnect: false
database: gitlabhq_test
pool: 5
username: root
password:
# socket: /tmp/mysql.sock
production:
adapter: mysql2
encoding: utf8
reconnect: false
database: gitlabhq_production
pool: 5
username: root
password: "secure password"
# socket: /tmp/mysql.sock