move markdown-spellcheck installation to the install section

This commit is contained in:
Andy Li
2016-10-31 18:02:26 -07:00
committed by Sergei Vorobev
parent 7147b82e9b
commit 0f6d8bf077
+5 -2
View File
@@ -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