Only run markdown linter on linux

Because:

* There's no need to run it on more than one platform
* It doesn't work on windows
This commit is contained in:
Philipp Hansch 2018-10-12 07:59:08 +02:00
parent 024ccb4f50
commit f5a38f2323
No known key found for this signature in database
GPG Key ID: B6FA06A6E0E2665B
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@ before_install:
install: install:
- | - |
if [ -z ${INTEGRATION} ]; then if [ -z ${INTEGRATION} ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then
. $HOME/.nvm/nvm.sh . $HOME/.nvm/nvm.sh
nvm install stable nvm install stable
nvm use stable nvm use stable

View File

@ -14,7 +14,9 @@ set -ex
echo "Running clippy base tests" echo "Running clippy base tests"
PATH=$PATH:./node_modules/.bin PATH=$PATH:./node_modules/.bin
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
remark -f *.md > /dev/null remark -f *.md > /dev/null
fi
# build clippy in debug mode and run tests # build clippy in debug mode and run tests
cargo build --features debugging cargo build --features debugging
cargo test --features debugging cargo test --features debugging