From fba51d548d923765926bc96597724e61ef77ced8 Mon Sep 17 00:00:00 2001 From: Juan Carlos Tong Date: Fri, 7 Feb 2020 12:55:53 -0800 Subject: [PATCH 1/4] ci(travis): add mdspell --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2ffbd4ee..a937e701 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,6 +32,19 @@ jobs: notifications: email: false + - stage: 'Lint markdown files' + language: node_js + node_js: 12 + os: linux + before_install: skip + install: + - npm i -g markdown-spellcheck + before_script: + - wget --quiet https://gist.githubusercontent.com/juancarlostong/dad02feeebc8763af35b4fdc717cf7a2/raw/29e085302a9418edbefba15d8f790fa76e0a89d5/.spelling + script: + - mdspell -a -n -r --en-us '**/*.md' + after_success: skip + - stage: 'Linting' language: python python: "2.7" From 4b9f3377ccdf91184ddf021710f4b9d2c432cb0f Mon Sep 17 00:00:00 2001 From: Juan Carlos Tong Date: Fri, 7 Feb 2020 13:07:58 -0800 Subject: [PATCH 2/4] use latest version .spelling --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a937e701..b5df0298 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,7 @@ jobs: install: - npm i -g markdown-spellcheck before_script: - - wget --quiet https://gist.githubusercontent.com/juancarlostong/dad02feeebc8763af35b4fdc717cf7a2/raw/29e085302a9418edbefba15d8f790fa76e0a89d5/.spelling + - wget --quiet https://gist.githubusercontent.com/juancarlostong/dad02feeebc8763af35b4fdc717cf7a2/raw/.spelling script: - mdspell -a -n -r --en-us '**/*.md' after_success: skip From 7f6aa7cf5a86889f276d30f597e60144ff9dfe34 Mon Sep 17 00:00:00 2001 From: Juan Carlos Tong Date: Mon, 10 Feb 2020 09:56:50 -0800 Subject: [PATCH 3/4] update source location for .spelling --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b5df0298..0a675588 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,7 @@ jobs: install: - npm i -g markdown-spellcheck before_script: - - wget --quiet https://gist.githubusercontent.com/juancarlostong/dad02feeebc8763af35b4fdc717cf7a2/raw/.spelling + - wget --quiet https://raw.githubusercontent.com/optimizely/mdspell-config/master/.spelling script: - mdspell -a -n -r --en-us '**/*.md' after_success: skip From 9e1e9b889b1ef68c32a5821de35b7e639a64115a Mon Sep 17 00:00:00 2001 From: Juan Carlos Tong Date: Mon, 10 Feb 2020 16:14:32 -0800 Subject: [PATCH 4/4] improve build speed --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0a675588..f2d8ebb1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,9 +23,8 @@ stages: jobs: include: - stage: 'Lint markdown files' - language: ruby - rvm: 2.4.1 os: linux + language: generic install: gem install awesome_bot script: - find . -type f -name '*.md' -exec awesome_bot {} \; @@ -33,9 +32,8 @@ jobs: email: false - stage: 'Lint markdown files' - language: node_js - node_js: 12 os: linux + language: generic before_install: skip install: - npm i -g markdown-spellcheck