mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
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:
parent
024ccb4f50
commit
f5a38f2323
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue