language: generic

env:
  global:
  - PATH="/opt/chefdk/bin:/opt/chef/bin:$PATH"

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

install:
- unset GEM_PATH

script:
- make
- git diff --exit-code
- git diff --cached --exit-code
- rubocop
- ./run-foodcritic cookbooks
- ./runtests

language: generic

env:
  global:
  - PATH="/opt/chefdk/bin:/opt/chefdk/embedded/bin:/opt/chef/bin:$PATH"

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

install:
- unset GEM_PATH

script:
- make
- git diff --exit-code
- git diff --cached --exit-code
- rubocop
- ./run-foodcritic cookbooks
- ./runtests

Use the embedded chef ruby, too
Use the embedded chef ruby, too
