-
-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test in Travis with Chef-DK and a Rakefile #454
Conversation
This way they're disabled no matter where things are run Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Avoid testing branches and PRs on a single commit Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
This is going to fail until the extra cops are removed. That fix is in #453 |
@@ -24,3 +24,5 @@ TrivialAccessors: | |||
ExactNameMatch: true | |||
Style/RegexpLiteral: | |||
Enabled: false | |||
Style/ExtraSpacing: | |||
Enabled: false |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why add another script to do the same thing, when we already have guard?
@@ -8,7 +8,7 @@ gem 'berkshelf', '~> 5.1', '>= 5.1.0' | |||
|
|||
group :unit do | |||
gem 'foodcritic', '~> 8.1', '>= 8.1.0' | |||
gem 'rubocop', '~> 0.45', '>= 0.45.0' | |||
gem 'cookstyle' |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
Travis/RuboCop error (it seems easy to fix):
|
That applies to robocop 0.45.
|
- bundle exec berks | ||
- eval "$(/opt/chefdk/bin/chef shell-init bash)" | ||
# We have to install chef-sugar for ChefSpec | ||
- /opt/chefdk/embedded/bin/chef gem install chef-sugar |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Using ChefDK avoids having to match Ruby releases and Gem releases to match Chef tooling.