From f5a38f2323006fb56cc730cc1313f9578bc84c68 Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Fri, 12 Oct 2018 07:59:08 +0200 Subject: [PATCH] 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 --- .travis.yml | 2 +- ci/base-tests.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7abfe0e03dd..5446f1ab568 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ before_install: install: - | - if [ -z ${INTEGRATION} ]; then + if [ -z ${INTEGRATION} ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then . $HOME/.nvm/nvm.sh nvm install stable nvm use stable diff --git a/ci/base-tests.sh b/ci/base-tests.sh index ebf4a127cdc..72a38ee5e58 100755 --- a/ci/base-tests.sh +++ b/ci/base-tests.sh @@ -14,7 +14,9 @@ set -ex echo "Running clippy base tests" PATH=$PATH:./node_modules/.bin -remark -f *.md > /dev/null +if [ "$TRAVIS_OS_NAME" == "linux" ]; then + remark -f *.md > /dev/null +fi # build clippy in debug mode and run tests cargo build --features debugging cargo test --features debugging