From 43eb30029fe91406f2fffd4dbfb4051b29862a11 Mon Sep 17 00:00:00 2001 From: Daniel Schep Date: Thu, 23 May 2019 12:01:42 -0400 Subject: [PATCH] upgrade npm before using it --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c06fcbc68..8b3d278e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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