From 08ef1288a8b798141c6ea3d7de2c7b0efb57482c Mon Sep 17 00:00:00 2001 From: nrew225 Date: Fri, 16 Dec 2016 18:54:22 -0600 Subject: [PATCH] Warn on awesomebot fails --- .travis.yml | 1 - Dangerfile | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) 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