Unverified Commit 944f2161 authored by Jeremy Bokobza's avatar Jeremy Bokobza Committed by GitHub

Merge pull request #389 from bokobza/upgrade-node

upgraded node and npm to newer versions
parents 9c171842 bb8b838c
...@@ -39,10 +39,13 @@ cache: ...@@ -39,10 +39,13 @@ cache:
# https://github.com/travis-ci/travis-ci/issues/7728 # https://github.com/travis-ci/travis-ci/issues/7728
install: install:
- nvm install 6 - nvm install 8.11.2
- npm install -g npm@6.2.0
before_script: before_script:
- if [ -z "$TRAVIS_TAG" ] ; then TRAVIS_TAG=cd-unstable; fi - if [ -z "$TRAVIS_TAG" ] ; then TRAVIS_TAG=cd-unstable; fi
- npm --version
- nvm --version
script: script:
- chmod +x build.sh - chmod +x build.sh
......
...@@ -53,8 +53,11 @@ install: ...@@ -53,8 +53,11 @@ install:
Write-Host "--> git submodule" -foregroundcolor "magenta" Write-Host "--> git submodule" -foregroundcolor "magenta"
git submodule update --init --recursive git submodule update --init --recursive
Write-Host "--> node 6" -foregroundcolor "magenta" Write-Host "--> node 8.11.2" -foregroundcolor "magenta"
Install-Product node 6 Install-Product node 8.11.2
Write-Host "--> npm 6.2.0" -foregroundcolor "magenta"
npm install -g npm@6.2.0
Write-Host "--> npm config" -foregroundcolor "magenta" Write-Host "--> npm config" -foregroundcolor "magenta"
npm config set unsafe-perm=true npm config set unsafe-perm=true
......
...@@ -41,7 +41,7 @@ git submodule update --init --recursive ...@@ -41,7 +41,7 @@ git submodule update --init --recursive
cd $TRAVIS_BUILD_DIR/Breeze.UI cd $TRAVIS_BUILD_DIR/Breeze.UI
npm install npm install -g cross-env
npm install -g npx npm install -g npx
echo $log_prefix FINISHED restoring dotnet and npm packages echo $log_prefix FINISHED restoring dotnet and npm packages
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment