Skip to content

Commit f5a38f2

Browse files
committed
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
1 parent 024ccb4 commit f5a38f2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ before_install:
2424
2525
install:
2626
- |
27-
if [ -z ${INTEGRATION} ]; then
27+
if [ -z ${INTEGRATION} ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then
2828
. $HOME/.nvm/nvm.sh
2929
nvm install stable
3030
nvm use stable

ci/base-tests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ set -ex
1414
echo "Running clippy base tests"
1515

1616
PATH=$PATH:./node_modules/.bin
17-
remark -f *.md > /dev/null
17+
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
18+
remark -f *.md > /dev/null
19+
fi
1820
# build clippy in debug mode and run tests
1921
cargo build --features debugging
2022
cargo test --features debugging

0 commit comments

Comments
 (0)