Skip to content

A list of Free Software network services and web applications which can be hosted on your own servers

Warn on awesomebot fails

nrew22508ef1288a8b7
diff --git a/.travis.yml b/.travis.yml
index 8876fd5a..2cc8d9c2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,7 +13,6 @@ before_script:
script:
- git diff master.. -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md || (exit 0)
- node test.js temp.md
- - awesome_bot temp.md --allow-redirect --allow-ssl
- danger --verbose
notifications:
diff --git a/Dangerfile b/Dangerfile
index 8124c31b..bb8fd0e0 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -26,11 +26,12 @@ end
# Check syntax
if has_readme_changes
+ awesome_bot temp.md --allow-redirect --allow-ssl
require 'json'
syntaxresults = File.read 'syntaxcheck.json'
sj = JSON.parse syntaxresults
if sj['error']==true
- fail sj['title']
+ warn sj['title']
markdown sj['message']
end
end