-
Notifications
You must be signed in to change notification settings - Fork 2
/
shippable.yml
18 lines (16 loc) · 962 Bytes
/
shippable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
language: ruby
rvm:
- 1.9.3
env:
global:
- secure: lgUSh9DujusqdXq/N35qzHi25/vY3JRaLjsj8hzPFIiopOvQ6TUz2uPtxndeQu2/Hmy7EmK5Zj8l3zfqe73bSnWxMSoRoz4JGW/Ez4VS6f6U9WxkgfSN4ACVD6TywtATX2DcDZ3AOEnkSLIjDepDtavPCkQ6zvgc5EOUfdI5pkoDsUB2tHWhVXYmFDeZ7yaYyZLj3PfQWhdEkAaTQ6iNvUSyXiTk3XTF1Ysoo1aV3CnoW15dZxrBDniXK+y/7JUAdIugp6Rd3AX8B6i6dZlqvtOipDYHvtA/zwtP5huu40UoiFxFcH/Q5q3BlbA8f4C87pCoA/7UM7nhaaVcP+2R8Q==
- "CI_REPORTS=shippable/testresults COVERAGE_REPORTS=shippable/codecoverage CI_NAME=shippable CI_BUILD_NUMBER=${BUILD_NUMBER} CI_BUILD_URL=${BUILD_URL} CI_BRANCH=${BRANCH}"
install:
- curl -L https://www.opscode.com/chef/install.sh | sudo bash -s -- -P chefdk
- chef exec bundle install
- chef exec bundle exec berks install
script:
- chef exec bundle exec rubocop .
- chef exec bundle exec foodcritic -G .
- chef exec bundle exec rubocop .
- chef exec bundle exec rspec --format RspecJunitFormatter --out shippable/testresults/rspec.xml