浏览代码

Warn on awesomebot fails

nrew225 9 年之前
父节点
当前提交
6b25d7f2a5
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 1 0
      .travis.yml
  2. 0 1
      Dangerfile

+ 1 - 0
.travis.yml

@@ -13,6 +13,7 @@ before_script:
 script:
 script:
   - git diff master.. -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md || (exit 0)
   - git diff master.. -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md || (exit 0)
   - node test.js temp.md
   - node test.js temp.md
+  - awesome_bot temp.md --allow-redirect --allow-ssl || (exit 0)
   - danger --verbose
   - danger --verbose
 
 
 notifications:
 notifications:

+ 0 - 1
Dangerfile

@@ -26,7 +26,6 @@ end
 
 
 # Check syntax
 # Check syntax
 if has_readme_changes
 if has_readme_changes
- awesome_bot temp.md --allow-redirect --allow-ssl
  require 'json'
  require 'json'
  syntaxresults = File.read 'syntaxcheck.json'
  syntaxresults = File.read 'syntaxcheck.json'
  sj = JSON.parse syntaxresults
  sj = JSON.parse syntaxresults