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:
CountKeywordArgs: false
AllCops:
Include:
- Dangerfile
Exclude:
- spec/fixtures/**/*.rb
- spec/fixtures/banana-lib/libPusher/Scripts/pusher
......@@ -16,3 +18,7 @@ Style/FileName:
Exclude:
- bin/*
- Rakefile
Style/SignalException:
Exclude:
- Dangerfile
......@@ -27,8 +27,8 @@ before_script:
- bundle exec pod repo update --silent
script:
bundle exec rake
bundle exec danger
- bundle exec rake
- bundle exec danger
addons:
code_climate:
......
# Don't let testing shortcuts get into master by accident
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('fdescribe left in tests') if `grep -r fdescribe 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