2016-03-19 09:23:19 +11:00
|
|
|
language: ruby
|
|
|
|
cache: bundler
|
|
|
|
|
2016-03-19 09:31:07 +11:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- LOCAL_DOMAIN=example.com
|
|
|
|
- LOCAL_HTTPS=false
|
|
|
|
|
|
|
|
addons:
|
|
|
|
postgresql: 9.4
|
|
|
|
|
2016-03-19 09:23:19 +11:00
|
|
|
rvm:
|
|
|
|
- 2.2.4
|
|
|
|
|
2016-03-19 09:31:07 +11:00
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
|
2016-03-19 09:23:19 +11:00
|
|
|
bundler_args: --without development --retry=3 --jobs=3
|
|
|
|
|
2016-03-19 09:31:07 +11:00
|
|
|
before_script:
|
|
|
|
- bundle exec rake db:create db:migrate
|
|
|
|
|
2016-03-19 09:23:19 +11:00
|
|
|
script: bundle exec rspec
|