Skip to content

Commit

Permalink
add markdownlint to travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Apr 12, 2018
1 parent deadaa1 commit 2b31c2b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,17 @@ matrix:
- docker
script:
- docker run -v $(pwd):/r koalaman/shellcheck-alpine:v0.4.6 /r/scripts/newinstall.sh
- os: linux
env: TEST=markdownlint
services:
- docker
script: |
set -e
shopt -s globstar nullglob
CHECK=( **/*.md )
[[ ${#CHECK[@]} -eq 0 ]] && exit
docker run -ti -v $(pwd):$(pwd) -w $(pwd) \
mivok/markdownlint:0.4.0 "${CHECK[@]}"
branches:
only:
- master
Expand Down

0 comments on commit 2b31c2b

Please sign in to comment.