We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be42c4e commit daca287Copy full SHA for daca287
.drone.yaml
.drone.yml
@@ -0,0 +1,30 @@
1
+pipeline:
2
+ restore-cache:
3
+ image: drillster/drone-volume-cache
4
+ restore: true
5
+ mount:
6
+ - ./.bundle
7
+ volumes:
8
+ - /tmp/cache:/cache
9
+
10
+ build:
11
+ image: ruby:2.2.1
12
+ commands:
13
+ - bundle install --path=.bundle/gems --without development production staging
14
+ - bundle exec rake db:setup
15
+ - bundle exec rake test
16
+ environment:
17
+ - RACK_ENV=test
18
+ - DATABASE_URL=postgres://postgres:postgres@database/myapp_test
19
20
+ rebuild-cache:
21
22
+ rebuild: true
23
24
25
26
27
28
+services:
29
+ database:
30
+ image: postgres
0 commit comments