sudo: false

addons:
  apt:
    sources:
      - chef-current-precise
    packages:
      - chefdk

before_script:
  - eval "$(/opt/chefdk/bin/chef shell-init bash)"

install: "bundle install --no-cache"

script:
  - rubocop
  - foodcritic -f any -f ~FC015 -X spec .
  - bundle exec rspec --color --format progress

sudo: false

addons:
  apt:
    sources:
      - chef-current-precise
    packages:
      - chefdk

before_install:
  - eval "$(/opt/chefdk/bin/chef shell-init bash)"

install: "bundle install --no-cache"

script:
  - rubocop
  - foodcritic -f any -f ~FC015 -X spec .
  - bundle exec rspec --color --format progress

Set ruby env to embedded ruby in ChefDK
Set ruby env to embedded ruby in ChefDK
