-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwercker.yml
36 lines (31 loc) · 1.08 KB
/
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
32
33
34
35
36
box: wercker/rvm
# Build definition
build:
# The steps that will be executed on build
# See the Ruby section on the wercker devcenter:
# http://devcenter.wercker.com/articles/languages/ruby.html
steps:
# Uncomment this to force RVM to use a specific Ruby version
# - rvm-use:
# version: 2.1.0
# A step that executes `bundle install` command
- 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 rubocop
- script:
name: run minitest
code: bundle exec rake test
after-steps:
- sherzberg/slack-notify:
subdomain: aerobic
token: $SLACK_TOKEN
channel: general