Permalink
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (31 sloc) 748 Bytes
language: ruby
sudo: false
cache: bundler
addons:
apt:
packages:
- libhiredis-dev
postgresql: '9.3'
services:
- redis-server
rvm:
- 2.2
env: DB=postgres CI=1
bundler_args: --without development debug
before_script:
- cp config/database.yml.ci config/database.yml
- cp .env.example .env
- bundle exec rake db:setup
script: bundle exec rake
deploy:
provider: script
script: bin/deploy
on:
branch: master
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/4c51e5a596ad847fad37
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always