Skip to content

Commit

Permalink
+ Danger support
Browse files Browse the repository at this point in the history
.travis.yml:
+ Danger, allow dupes
  • Loading branch information
Fr0sT-Brutal committed Oct 28, 2016
1 parent 1526e8f commit f5a2c85
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ rvm:
- 2.2
before_script:
- gem install awesome_bot
- gem install danger
script:
- awesome_bot README.md --allow-redirect
- awesome_bot README.md --allow-redirect --allow-dupe
after_script:
- danger
8 changes: 8 additions & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Check links
require 'json'
results = File.read 'ab-results-README.md-markdown-table.json'
j = JSON.parse results
if j['error']==true
fail j['title']
markdown j['message']
end

0 comments on commit f5a2c85

Please sign in to comment.