Skip to content

Commit 6f7a8c9

Browse files
ci(travis): add mdspell (#238)
* ci(travis): add mdspell
1 parent e42d75c commit 6f7a8c9

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.travis.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,26 @@ stages:
1414
jobs:
1515
include:
1616
- stage: 'Lint markdown files'
17-
language: ruby
18-
rvm: 2.4.1
1917
os: linux
18+
language: generic
2019
install: gem install awesome_bot
2120
script:
2221
- find . -type f -name '*.md' -exec awesome_bot {} \;
2322
notifications:
2423
email: false
2524

25+
- stage: 'Lint markdown files'
26+
os: linux
27+
language: generic
28+
before_install: skip
29+
install:
30+
- npm i -g markdown-spellcheck
31+
before_script:
32+
- wget --quiet https://raw.githubusercontent.com/optimizely/mdspell-config/master/.spelling
33+
script:
34+
- mdspell -a -n -r --en-us '**/*.md'
35+
after_success: skip
36+
2637
- stage: 'Lint'
2738
env: GIMME_GO_VERSION=1.13.x GIMME_OS=linux GIMME_ARCH=amd64
2839
script:

0 commit comments

Comments
 (0)