mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
upgrade npm before using it
This commit is contained in:
parent
9df621eaf6
commit
43eb30029f
@ -36,8 +36,8 @@ matrix:
|
||||
env: SLS_IGNORE_WARNING=*
|
||||
sudo: false
|
||||
install:
|
||||
- travis_retry npm install
|
||||
- "[ $TRAVIS_OS_NAME = windows ] || travis_retry npm install -g npm"
|
||||
- travis_retry npm install
|
||||
# ensure that Python 2 and Ruby are installed
|
||||
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install python ruby; else choco install python2 ruby; fi
|
||||
- if [ $TRAVIS_OS_NAME = windows ]; then export PATH="/c/Python27:/c/Python27/Scripts:$PATH"; fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user