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
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue