1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 23:49:48 +00:00

adding external link test with liche

This commit is contained in:
deadc0de6
2020-09-15 22:14:02 +02:00
parent 8a5460e546
commit 9768a96b96
2 changed files with 14 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ install:
- "pip install -r tests-requirements.txt"
- "pip install -r requirements.txt"
- "npm install -g remark-cli remark-validate-links"
- "GO111MODULE=on go get -u github.com/raviqqe/liche"
script:
./tests.sh
after_success:

View File

@@ -82,5 +82,18 @@ else
remark -f -u validate-links *.md
fi
## test the doc with liche
## https://github.com/raviqqe/liche/
set +e
which liche >/dev/null 2>&1
r="$?"
set -e
if [ "$r" != "0" ]; then
echo "[WARNING] install \"liche\" to test the doc"
else
liche -r -v docs
liche -v README.md
fi
## done
echo "All test finished successfully"