From 0f6d8bf0770eac1237fc608b9f35153c21e8cb31 Mon Sep 17 00:00:00 2001 From: Andy Li Date: Mon, 31 Oct 2016 12:01:57 +0800 Subject: [PATCH] move markdown-spellcheck installation to the install section --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index bcc7d9a124..38091f58d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,12 +26,15 @@ install: # Default 2.0.0 Ruby is buggy # Default bundler version is buggy - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm use 2.2.1; gem uninstall bundler -v1.13.1; fi + # spellcheck + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then + nvm install 6.4.0 && + npm install -g markdown-spellcheck@0.11.0; + fi script: - ./tools/travis.sh # spellcheck - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - nvm install 6.4.0 && - npm install -g markdown-spellcheck@0.11.0 && mdspell "**/*.md" --ignore-numbers --ignore-acronyms --report; fi