Update npm before building on AppVeyor/Travis

This commit is contained in:
Antonio Scandurra
2016-08-02 14:43:46 +02:00
parent 354f0d8fa8
commit 17ec08067b
2 changed files with 2 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ install:
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use --delete-prefix $NODE_VERSION
- npm install -g npm
- script/bootstrap
- script/build

View File

@@ -20,6 +20,7 @@ environment:
install:
- SET PATH=C:\Program Files\Atom\resources\cli;%PATH%
- ps: Install-Product node $env:NODE_VERSION $env:PLATFORM
- npm install -g npm
build_script:
- cd %APPVEYOR_BUILD_FOLDER%