Skip to content

Commit 97c1ee4

Browse files
ci(travis): add mdspell (#359)
1 parent 645efce commit 97c1ee4

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

.travis.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,25 @@ stages:
4343
jobs:
4444
include:
4545
- stage: 'Lint markdown files'
46-
language: ruby
47-
rvm: 2.4.1
4846
os: linux
47+
language: generic
4948
install: gem install awesome_bot
5049
script:
5150
- find . -type f -name '*.md' -exec awesome_bot {} \;
5251
notifications:
5352
email: false
53+
54+
- stage: 'Lint markdown files'
55+
os: linux
56+
language: generic
57+
before_install: skip
58+
install:
59+
- npm i -g markdown-spellcheck
60+
before_script:
61+
- wget --quiet https://raw.githubusercontent.com/optimizely/mdspell-config/master/.spelling
62+
script:
63+
- mdspell -a -n -r --en-us '**/*.md'
64+
after_success: skip
5465

5566
- &integrationtest
5667
stage: 'Integration tests'

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ This is the release candidate for the 3.0 SDK, which includes a number of improv
216216
* refactor: Performance improvements for JacksonConfigParser ([#209](https://github.com/optimizely/java-sdk/pull/209))
217217
* refactor: typeAudience.combinations will not be string encoded like audience.combinations. To handle this we created a new parsing type TypedAudience.
218218
* fix for exact match when dealing with integers and doubles. Created a new Numeric match type.
219-
* make a copy of attributes passed in to avoid any concurrency problems. Addresses GitHub isue in Optimizely Andriod SDK.
219+
* make a copy of attributes passed in to avoid any concurrency problems. Addresses GitHub issue in Optimizely Andriod SDK.
220220
* allow single root node for audience.conditions, typedAudience.conditions, and Experiment.audienceCombinations.
221221

222222
## 3.0.0-RC
@@ -239,7 +239,7 @@ This is the release candidate for the 3.0 SDK, which includes a number of improv
239239
* refactor: Performance improvements for JacksonConfigParser ([#209](https://github.com/optimizely/java-sdk/pull/209))
240240
* refactor: typeAudience.combinations will not be string encoded like audience.combinations. To handle this we created a new parsing type TypedAudience.
241241
* fix for exact match when dealing with integers and doubles. Created a new Numeric match type.
242-
* make a copy of attributes passed in to avoid any concurrency problems. Addresses GitHub isue in Optimizely Andriod SDK.
242+
* make a copy of attributes passed in to avoid any concurrency problems. Addresses GitHub issue in Optimizely Andriod SDK.
243243

244244
## 3.0.0-alpha
245245

@@ -386,7 +386,7 @@ January 30, 2018
386386

387387
This release adds support for bucketing id (By passing in `$opt_bucketing_id` in the attribute map to override the user id as the bucketing variable. This is useful when wanting a set of users to share the same experience such as two players in a game).
388388

389-
This release also depricates the old notification broadcaster in favor of a notification center that supports a wide range of notifications. The notification listener is now registered for the specific notification type such as ACTIVATE and TRACK. This is accomplished by allowing for a variable argument call to notify (a new var arg method added to the NotificationListener). Specific abstract classes exist for the associated notification type (ActivateNotification and TrackNotification). These abstract classes enforce the strong typing that exists in Java. You may also add custom notification types and fire them through the notification center. The notification center is implemented using this var arg approach in all Optimizely SDKs.
389+
This release also deprecates the old notification broadcaster in favor of a notification center that supports a wide range of notifications. The notification listener is now registered for the specific notification type such as ACTIVATE and TRACK. This is accomplished by allowing for a variable argument call to notify (a new var arg method added to the NotificationListener). Specific abstract classes exist for the associated notification type (ActivateNotification and TrackNotification). These abstract classes enforce the strong typing that exists in Java. You may also add custom notification types and fire them through the notification center. The notification center is implemented using this var arg approach in all Optimizely SDKs.
390390

391391
### New Features
392392

core-api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ interface is available for handling errors from the SDK without interfering with
4141

4242
### NoOpErrorHandler
4343
The [`NoOpErrorHandler`](https://github.com/optimizely/java-sdk/blob/master/core-api/src/main/java/com/optimizely/ab/error/NoOpErrorHandler.java)
44-
is the default `ErrorHandler` implemetation that silently consumes all errors raised from the SDK.
44+
is the default `ErrorHandler` implementation that silently consumes all errors raised from the SDK.
4545

4646
### RaiseExceptionErrorHandler
4747
The [`RaiseExceptionErrorHandler`](https://github.com/optimizely/java-sdk/blob/master/core-api/src/main/java/com/optimizely/ab/error/RaiseExceptionErrorHandler.java)

0 commit comments

Comments
 (0)