Introduce setup rake tasks

Put what has to be done to have a working installation into one place instead
of spreading it to multiple files.
This commit is contained in:
Henne Vogelsang 2018-09-05 02:02:11 +02:00
parent 35c531b111
commit 00670b03f6
2 changed files with 49 additions and 1 deletions

View file

@ -25,7 +25,7 @@ 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 db:schema:load --trace
- RAILS_ENV=test bundle exec rake setup:bootstrap --trace
script:
- "./travis_script.sh $TEST_SUITE"
env: