-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'basic_linting_tests' into 'master'
- Loading branch information
Showing
22 changed files
with
227 additions
and
112 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
fixtures: | ||
repositories: | ||
stdlib: "https://github.com/puppetlabs/puppetlabs-stdlib.git" | ||
archive: "https://github.com/voxpupuli/puppet-archive.git" | ||
symlinks: | ||
shibidp: "#{source_dir}" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
stages: | ||
- test | ||
|
||
test: | ||
stage: test | ||
script: | ||
- bundle install --without system_tests development --path vendor/bundle --jobs=3 --retry=3 | ||
- bundle exec rake test SPEC_OPTS='--format documentation' | ||
tags: | ||
- ruby21 | ||
cache: | ||
paths: | ||
- vendor/bundle |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# RuboCop config file | ||
# Configure cops | ||
# https://github.com/bbatsov/rubocop | ||
# https://github.com/bbatsov/rubocop/blob/master/config/default.yml | ||
# https://github.com/bbatsov/ruby-style-guide | ||
# | ||
|
||
AllCops: | ||
Include: | ||
- '**/*.gemspec' | ||
- '**/*.rake' | ||
- '**/Gemfile' | ||
- '**/Puppetfile' | ||
- '**/Rakefile' | ||
- '**/Guardfile' | ||
Exclude: | ||
- 'modules/**/*' | ||
- 'pkg/**/*' | ||
- 'spec/fixtures/**/*' | ||
- 'vendor/**/*' | ||
DisplayCopNames: true | ||
|
||
#################### Style ################################## | ||
|
||
# Cop supports --auto-correct. | ||
# Configuration parameters: SupportedStyles. | ||
# Support ruby 1.8.7 | ||
Style/HashSyntax: | ||
EnforcedStyle: hash_rockets | ||
|
||
# The shebang stuff at the top triggers this | ||
Style/LeadingCommentSpace: | ||
Exclude: | ||
- Puppetfile | ||
|
||
#################### Metrics ################################ | ||
|
||
Metrics/LineLength: | ||
# Ruduce this... Max: 80 | ||
Max: 111 | ||
|
||
Metrics/BlockLength: | ||
# Ruduce this... Max: 25 | ||
Max: 27 | ||
|
||
##################### Bundler ############################# | ||
|
||
Bundler/DuplicatedGem: | ||
Enabled: false |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
puppet-module |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.1.10 |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.