Commit adca7097 authored by Orta Therox's avatar Orta Therox Committed by Samuel Giddins

Add support for rubocop with the Dangerfile

parent 63133d29
...@@ -8,6 +8,8 @@ ParameterLists: ...@@ -8,6 +8,8 @@ ParameterLists:
CountKeywordArgs: false CountKeywordArgs: false
AllCops: AllCops:
Include:
- Dangerfile
Exclude: Exclude:
- spec/fixtures/**/*.rb - spec/fixtures/**/*.rb
- spec/fixtures/banana-lib/libPusher/Scripts/pusher - spec/fixtures/banana-lib/libPusher/Scripts/pusher
...@@ -16,3 +18,7 @@ Style/FileName: ...@@ -16,3 +18,7 @@ Style/FileName:
Exclude: Exclude:
- bin/* - bin/*
- Rakefile - Rakefile
Style/SignalException:
Exclude:
- Dangerfile
...@@ -27,8 +27,8 @@ before_script: ...@@ -27,8 +27,8 @@ before_script:
- bundle exec pod repo update --silent - bundle exec pod repo update --silent
script: script:
bundle exec rake - bundle exec rake
bundle exec danger - bundle exec danger
addons: addons:
code_climate: code_climate:
......
# Don't let testing shortcuts get into master by accident # Don't let testing shortcuts get into master by accident
fail("fdescribe left in tests") if `grep -r fdescribe spec/`.length > 1 fail('fdescribe left in tests') if `grep -r fdescribe spec/`.length > 1
fail("fit left in tests") if `grep -r "fit spec/ `.length > 1 fail('fit left in tests') if `grep -r "fit spec/ `.length > 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment