Skip to content

Commit 6a7204f

Browse files
committed
only install remark if not on an integration build to avoid ddosing npm
1 parent 44f4ea6 commit 6a7204f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ before_install:
2424
fi
2525
2626
install:
27-
- . $HOME/.nvm/nvm.sh
28-
- nvm install stable
29-
- nvm use stable
30-
- npm install remark-cli remark-lint
27+
- |
28+
if [ -z ${INTEGRATION} ]; then
29+
. $HOME/.nvm/nvm.sh
30+
nvm install stable
31+
nvm use stable
32+
npm install remark-cli remark-lint
33+
fi
3134
3235
matrix:
3336
include:

0 commit comments

Comments
 (0)