We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfb25a8 commit c9e333bCopy full SHA for c9e333b
1 file changed
.drone.yml
@@ -1,14 +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:
- - bundle install
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