Skip to content

Commit

Permalink
Try and fix the node version
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman committed Jul 7, 2021
1 parent 4197b96 commit 36b803f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Expand Up @@ -482,8 +482,11 @@ before_cache:
before_install:
# Try doing nothing (on arm64 at least)
# - if [ "$PYTHON" == "python3" ]; then pyenv global 3.8.1 ; fi
# Fix the npm version
# - if [ "$TASK" = "weblint" ]; then npm i -g npm@v10.23.0; 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; fi
#Check the node version again
- if [ "$TASK" = "weblint" ]; then node -v; fi
#Fix permissions for unbound (and possibly others)
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [ ! -d /usr/local/sbin ]; then sudo mkdir -p /usr/local/sbin && sudo chown -R $(whoami) /usr/local/sbin; fi; fi
Expand Down

0 comments on commit 36b803f

Please sign in to comment.