Created
September 16, 2012 16:56
-
-
Save patcon/3733210 to your computer and use it in GitHub Desktop.
Working test setup (without Strainer)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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