Skip to content

Commit

Permalink
ci: new mkdocs-friendly tests
Browse files Browse the repository at this point in the history
Addresses #28.

Signed-off-by: Tibor Šimko <[email protected]>
  • Loading branch information
tiborsimko committed Sep 9, 2020
1 parent 8ecb9df commit 60504cb
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .markdownlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"commands-show-output": false,
"code-block-style": false,
"line-length": false,
"no-emphasis-as-heading": false,
"no-trailing-punctuation": false,
"ul-indent": false
}
18 changes: 13 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
notifications:
email: false

sudo: true

language: python

cache:
- pip
python:
- "3.6"

services:
- docker

before_install:
- nvm install 13

install:
- pip install -r requirements.txt
before_script:
- gem install awesome_bot

script:
- make html
- ./run-tests.sh
6 changes: 6 additions & 0 deletions run-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

npx -p markdownlint-cli markdownlint docs/* && \
awesome_bot --allow-dupe --skip-save-results --allow-redirect docs/**/*.md && \
mkdocs build -v && \
rm -rf site/

0 comments on commit 60504cb

Please sign in to comment.