2016-03-19 07:23:19 +09:00
|
|
|
language: ruby
|
|
|
|
cache: bundler
|
|
|
|
|
2016-03-19 07:31:07 +09:00
|
|
|
env:
|
|
|
|
global:
|
2016-03-21 16:41:00 +09:00
|
|
|
- LOCAL_DOMAIN=cb6e6126.ngrok.io
|
|
|
|
- LOCAL_HTTPS=true
|
|
|
|
- RAILS_ENV=test
|
2016-03-19 07:31:07 +09:00
|
|
|
|
|
|
|
addons:
|
|
|
|
postgresql: 9.4
|
|
|
|
|
2016-03-19 07:23:19 +09:00
|
|
|
rvm:
|
|
|
|
- 2.2.4
|
|
|
|
|
2016-03-19 07:31:07 +09:00
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
|
2016-03-19 07:23:19 +09:00
|
|
|
bundler_args: --without development --retry=3 --jobs=3
|
|
|
|
|
2016-03-19 07:31:07 +09:00
|
|
|
before_script:
|
|
|
|
- bundle exec rake db:create db:migrate
|
|
|
|
|
2016-03-19 07:23:19 +09:00
|
|
|
script: bundle exec rspec
|