-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
31 lines (29 loc) · 939 Bytes
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
box: tsungg/[email protected]
services:
- wercker/postgresql
build:
steps:
- bundle-install
# A custom script step, name value is used in the UI
# and the code value contains the command that get executed
- script:
name: echo ruby information
code: |
echo "ruby version $(ruby --version) running"
echo "from location $(which ruby)"
echo -p "gem list: $(gem list)"
- script:
name: run rubocop
code: bundle exec rake rubocop
- rails-database-yml
- script:
name: db setup
code: RAILS_ENV=test bundle exec rake db:structure:load
- script:
name: run unit tests
code: bundle exec rake spec
after-steps:
- sherzberg/slack-notify:
subdomain: aerobic
token: $SLACK_TOKEN
channel: general