Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .drone.yaml

This file was deleted.

30 changes: 30 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
pipeline:
restore-cache:
image: drillster/drone-volume-cache
restore: true
mount:
- ./.bundle
volumes:
- /tmp/cache:/cache

build:
image: ruby:2.2.1
commands:
- bundle install --path=.bundle/gems --without development production staging
- bundle exec rake db:setup
- bundle exec rake test
environment:
- RACK_ENV=test
- DATABASE_URL=postgres://postgres:postgres@database/myapp_test

rebuild-cache:
image: drillster/drone-volume-cache
rebuild: true
mount:
- ./.bundle
volumes:
- /tmp/cache:/cache

services:
database:
image: postgres