.travis.yml
language: ruby
rvm:
- 2.2.2
cache: bundler
sudo: false
bundler_args: "--without development production"
addons:
postgresql: "9.3"
services:
- redis-server
- elasticsearch
before_install:
- gem update --system
- travis_retry gem install bundler --pre
before_script:
- cp -f config/database.travis.yml config/database.yml
- cp -f .env.example .env
- bundle exec rake db:create:all
- bundle exec rake db:schema:load
- bundle exec rake db:migrate
- bundle exec rake db:test:prepare
env:
global:
secure: X7TELzrdZJg8lph9n392igWcUfzWpNUb0wrYvKRIOj1Uz+vT9xrAdv8txJgA/HWwby7gNR3IOcoa3CamxyGCstBnrzKu/xKxk9BYpp5BSfSTLeKrTZf7X45kWc2w70VpgrYUgCmfT1xQxuC7WIgUeqiF7zn7XWogpv8jy6JrFC0=