Skip to content

Commit

Permalink
Setup database before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ramontayag committed Sep 15, 2018
1 parent 86d935b commit 2168a87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ gemfile:
- gemfiles/rails_4.1.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile
before_script:
- cp spec/dummy/config/database.yml{.sample,}
- bundle exec rake db:create db:schema:load db:test:prepare --Rakefile spec/dummy/Rakefile
script: bundle exec rspec spec

0 comments on commit 2168a87

Please sign in to comment.