Skip to content

Commit

Permalink
More nvm testing
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman committed Jul 7, 2021
1 parent 1272892 commit 5126158
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -483,9 +483,9 @@ before_install:
# Try doing nothing (on arm64 at least)
# - if [ "$PYTHON" == "python3" ]; then pyenv global 3.8.1 ; fi
#Check the node version
- if [ "$TASK" = "weblint" ]; then node -v; fi
#Default node to the latest version
- if [ "$TASK" = "weblint" ]; then echo "node" > .nvmrc && nvm use; fi
- if [ "$TASK" = "weblint" ]; then node -v && nvm ls && nvm ls-remote; fi
#Default node to the latest LTS version
- if [ "$TASK" = "weblint" ]; then nvm ls && echo "lts/*" > .nvmrc && nvm use; fi
#Check the node version again
- if [ "$TASK" = "weblint" ]; then node -v; fi
- if [ "$TASK" = "weblint" ]; then which node && ls -al `which node`; fi
Expand Down

0 comments on commit 5126158

Please sign in to comment.