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:
Henne Vogelsang 2018-09-18 22:58:34 +02:00 committed by James Mason
parent a0b79c7789
commit f8b7233404
8 changed files with 22 additions and 55 deletions

View file

@ -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: