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
parent 1aa1ccbf06
commit af9c028b07
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
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: