Add markdown-link-check test on Travis CI

This would help make sure all links alive and not dated.
This commit is contained in:
Peter Dave Hello 2018-05-18 02:32:48 +08:00
parent 16a8690e1d
commit 3c25cdf737
2 changed files with 22 additions and 0 deletions

View File

@ -22,6 +22,17 @@ stages:
jobs:
include:
- stage: Test
env:
- TEST: Markdown link check
language: node_js
node_js:
- lts/*
install:
- npm i -g markdown-link-check
script:
- find . -name "*.md" -exec markdown-link-check {} \;
- stage: Test
env:
- TEST: Editor Config check

View File

@ -20,6 +20,17 @@ stages:
jobs:
include:
- stage: Test
env:
- TEST: Markdown link check
language: node_js
node_js:
- lts/*
install:
- npm i -g markdown-link-check
script:
- find . -name "*.md" -exec markdown-link-check {} \;
- stage: Test
env:
- TEST: Editor Config check