fix travis
This commit is contained in:
parent
2bc25e322e
commit
7aa66f4965
2 changed files with 15 additions and 1 deletions
|
@ -19,7 +19,8 @@ before_install:
|
||||||
- mysql -u root -e "CREATE USER 'some_user'@'localhost' IDENTIFIED BY 'some_pass';"
|
- mysql -u root -e "CREATE USER 'some_user'@'localhost' IDENTIFIED BY 'some_pass';"
|
||||||
- mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'some_user'@'localhost';"
|
- mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'some_user'@'localhost';"
|
||||||
- export RAILS_ENV=development
|
- export RAILS_ENV=development
|
||||||
- cp config/database.yml.dist config/database.yml
|
- export EMAILHELPER_MAILBOX_1='unittestemailhelper01@znuny.com:somepass'
|
||||||
|
- cp config/database.yml.test config/database.yml
|
||||||
install:
|
install:
|
||||||
- bundle install --without postgres
|
- bundle install --without postgres
|
||||||
script:
|
script:
|
||||||
|
|
13
config/database.yml.test
Normal file
13
config/database.yml.test
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# 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
|
||||||
|
database: zammad_test
|
||||||
|
pool: 50
|
||||||
|
timeout: 5000
|
||||||
|
encoding: utf8
|
||||||
|
username: some_user
|
||||||
|
password: some_pass
|
||||||
|
host: 127.0.0.1
|
||||||
|
|
Loading…
Reference in a new issue