Put database.yml into the code base
It works by default, we have a mechanism to configure it (dotenv.example) and we want to be a 12factor app, right? Let's do this...
This commit is contained in:
parent
a0b79c7789
commit
f8b7233404
8 changed files with 22 additions and 55 deletions
|
|
@ -22,10 +22,8 @@ notifications:
|
|||
on_success: change
|
||||
on_failure: change
|
||||
before_script:
|
||||
- cp config/database.yml.example config/database.yml
|
||||
- cp config/secrets.yml.example config/secrets.yml
|
||||
- mysql -u root -e 'create database osem_test;'
|
||||
- RAILS_ENV=test bundle exec rake setup:bootstrap --trace
|
||||
- RAILS_ENV=test bundle exec rake db:bootstrap --trace
|
||||
script:
|
||||
- "./travis_script.sh $TEST_SUITE"
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue