Skip to content

Commit 28b307e

Browse files
ci(travis): add mdspell (#293)
1 parent 7dc6bf9 commit 28b307e

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.travis.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,20 @@ jobs:
2525
- find . -type f -name '*.md' -exec awesome_bot {} \;
2626
notifications:
2727
email: false
28-
28+
29+
- stage: 'Lint markdown files'
30+
language: node_js
31+
node_js: 12
32+
os: linux
33+
before_install: skip
34+
install:
35+
- npm i -g markdown-spellcheck
36+
before_script:
37+
- wget --quiet https://raw.githubusercontent.com/optimizely/mdspell-config/master/.spelling
38+
script:
39+
- mdspell -a -n -r --en-us '**/*.md'
40+
after_success: skip
41+
2942
- &integrationtest
3043
stage: 'Trigger Integration Tests'
3144
language: minimal

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ This release includes a new API to access project configuration data and other f
1616
* OptimizelyConfig ([#274](https://github.com/optimizely/swift-sdk/pull/274)):
1717
* Call `getOptimizelyConfig()` to get a snapshot copy of project configuration static data.
1818
* It returns an `OptimizelyConfig` instance which includes a datafile revision number, all experiments, and feature flags mapped by their key values.
19-
* For details, refer to a documention page: https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-swift
19+
* For details, refer to a documentation page: https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-swift
2020
* Add LogEvent Notification ([#263](https://github.com/optimizely/swift-sdk/pull/263)):
21-
* Register an event listner with `addLogEventNotificationListener()`
21+
* Register an event listener with `addLogEventNotificationListener()`
2222
* The lister will be called when events are dispatched to the server.
2323
* Turn on "Allow app extensions only" flag in build settings ([#277](https://github.com/optimizely/swift-sdk/pull/277))
2424

0 commit comments

Comments
 (0)