8000 ci(travis): add mdspell (#394) · github/optimizely-javascript-sdk@eb47310 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit eb47310

Browse files
ci(travis): add mdspell (optimizely#394)
Add lint rule for spell checking markdown files
1 parent 10ce003 commit eb47310

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
@@ -35,15 +35,26 @@ stages:
3535
jobs:
3636
include:
3737
- stage: 'Lint markdown files'
38-
language: ruby
39-
rvm: 2.4.1
4038
os: linux
39+
language: generic
4140
install: gem install awesome_bot
4241
script:
4342
- find . -type f -name '*.md' -exec awesome_bot {} \;
4443
notifications:
4544
email: false
4645

46+
- stage: 'Lint markdown files'
47+
os: linux
48+
language: generic
49+
before_install: skip
50+
install:
51+
- npm i -g markdown-spellcheck
52+
before_script:
53+
- wget --quiet https://raw.githubusercontent.com/optimizely/mdspell-config/master/.spelling
54+
script:
55+
- mdspell -a -n -r --en-us '**/*.md'
56+
after_success: skip
57+
4758
- stage: 'Lint'
4859
node_js: '12'
4960
script: npm run lint

0 commit comments

Comments
 (0)
0