diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-10-12 07:59:08 +0200 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2018-10-12 08:39:55 +0200 |
| commit | f5a38f2323006fb56cc730cc1313f9578bc84c68 (patch) | |
| tree | c2fddee5f924934db7a2e98185fd17c7c1e9d63f | |
| parent | 024ccb4f508c184127e2522ce8ac77a9229b31e9 (diff) | |
| download | rust-f5a38f2323006fb56cc730cc1313f9578bc84c68.tar.gz rust-f5a38f2323006fb56cc730cc1313f9578bc84c68.zip | |
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
| -rw-r--r-- | .travis.yml | 2 | ||||
| -rwxr-xr-x | 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 |
