Skip to content

Instantly share code, notes, and snippets.

@patcon
Created September 16, 2012 16:56
Show Gist options
  • Save patcon/3733210 to your computer and use it in GitHub Desktop.
Save patcon/3733210 to your computer and use it in GitHub Desktop.
Working test setup (without Strainer)
language: ruby
notifications:
email: false
rvm:
- 1.9.3 # Same as Ariadne host env
install: bundle install --without default
script:
- bundle exec foodcritic cookbooks-*/* -I test/support/foodcritic/* -t '~CINK001' -t '~FC011' -t '~FC031' --epic-fail ''
- mkdir cookbooks
- bundle exec knife cookbook test $(ls -m cookbooks-override | tr -d ',') $(ls -m cookbooks-projects | tr -d ',') --config=test/support/knife.rb
current_dir = File.dirname(__FILE__)
cache_options( :path => '/tmp/chef/cache/checksums' )
cookbook_path [ "#{current_dir}/../../cookbooks", "#{current_dir}/../../cookbooks-override", "#{current_dir}/../../cookbooks-projects" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment