diff --git a/.travis.yml b/.travis.yml index 7231d89d3548c..33e44a349aa94 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,8 +21,8 @@ branches: - release-2.3 install: - - npm uninstall typescript - - npm uninstall tslint + - npm uninstall typescript --no-save + - npm uninstall tslint --no-save - npm install cache: diff --git a/jenkins.sh b/jenkins.sh index 377a44b7bf75d..b716f5bbeb2b6 100755 --- a/jenkins.sh +++ b/jenkins.sh @@ -2,12 +2,12 @@ # Set up NVM export NVM_DIR="/home/dotnet-bot/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" +[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" nvm install $1 -npm uninstall typescript -npm uninstall tslint +npm uninstall typescript --no-save +npm uninstall tslint --no-save npm install npm update npm test