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

doc adding tests to travis

This commit is contained in:
deadc0de6
2020-09-12 15:20:22 +02:00
parent fecf2adaa9
commit caaa0a422c
3 changed files with 15 additions and 0 deletions

View File

@@ -69,4 +69,17 @@ unset DOTDROP_FORCE_NODEBUG
rm -f ${log}
}
## test the doc with remark
## https://github.com/remarkjs/remark-validate-links
set +e
which remark >/dev/null 2>&1
r="$?"
set -e
if [ "$r" != "0" ]; then
echo "[WARNING] install \"remark\" to test the doc"
else
remark -f -u validate-links docs/
fi
## done
echo "All test finished successfully"