Skip to content

Commit be42c4e

Browse files
committed
Configure drone.yaml
1 parent a05d869 commit be42c4e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.drone.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
pipeline:
2+
build:
3+
image: ruby:2.2.1
4+
commands:
5+
- bundle install
6+
- bundle exec rake db:setup
7+
- bundle exec bin/rspec
8+
environment:
9+
- RACK_ENV=test
10+
- DATABASE_HOST=postgres://postgres@database/myapp_test
11+
notify:
12+
image: plugins/slack
13+
secrets: [ slack_webhook ]
14+
when:
15+
status: [ success, failure ]
16+
17+
services:
18+
database:
19+
image: postgres

0 commit comments

Comments
 (0)