Merge pull request #1110 from MikeMcQuaid/test-bot-homebrew-core-style
test-bot: check homebrew/core style.
This commit is contained in:
		
						commit
						bbc3f1c3a8
					
				@ -116,7 +116,7 @@ Style/FileName:
 | 
				
			|||||||
  #   FILENAME.rb (ARGV and ENV)
 | 
					  #   FILENAME.rb (ARGV and ENV)
 | 
				
			||||||
  # does not match:
 | 
					  # does not match:
 | 
				
			||||||
  #   dashes-and_underscores.rb
 | 
					  #   dashes-and_underscores.rb
 | 
				
			||||||
  Regex: !ruby/regexp /^((([\dA-Z]+|[\da-z]+)(_([\dA-Z]+|[\da-z]+))*|(\-\-)?([\dA-Z]+|[\da-z]+)(-([\dA-Z]+|[\da-z]+))*))(\.rb)?$/
 | 
					  Regex: !ruby/regexp /^((([\dA-Z]+|[\da-z\+]+)(_([\dA-Z]+|[\da-z\+]+))*|(\-\-)?([\dA-Z]+|[\da-z\+\.]+)([-@]([\dA-Z]+|[\da-z\+\.]+))*))(\.rb)?$/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# no percent word array, being friendly to non-ruby users
 | 
					# no percent word array, being friendly to non-ruby users
 | 
				
			||||||
# TODO: enforce when rubocop has fixed this
 | 
					# TODO: enforce when rubocop has fixed this
 | 
				
			||||||
 | 
				
			|||||||
@ -634,6 +634,7 @@ module Homebrew
 | 
				
			|||||||
          install_passed = steps.last.passed?
 | 
					          install_passed = steps.last.passed?
 | 
				
			||||||
        end
 | 
					        end
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
 | 
					      test "brew", "style", formula_name
 | 
				
			||||||
      test "brew", "audit", *audit_args
 | 
					      test "brew", "audit", *audit_args
 | 
				
			||||||
      if install_passed
 | 
					      if install_passed
 | 
				
			||||||
        if formula.stable? && !ARGV.include?("--fast") && !ARGV.include?("--no-bottle") && !formula.bottle_disabled?
 | 
					        if formula.stable? && !ARGV.include?("--fast") && !ARGV.include?("--no-bottle") && !formula.bottle_disabled?
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user