From c58dcbb907e95b31305fa23936d4cbc391e1c415 Mon Sep 17 00:00:00 2001 From: Karishma Chadha Date: Fri, 12 Feb 2021 13:18:39 -0500 Subject: [PATCH] Update travis.yml to remove greenkeeper specific parts. Use npm ci instead of install and update. --- .travis.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7ee4312fe..52e2ccc72 100644 --- a/.travis.yml +++ b/.travis.yml @@ -108,16 +108,9 @@ addons: - ubuntu-toolchain-r-test packages: - g++-4.8 -before_install: -# package-lock.json was introduced in npm@5 -- '[[ $(node -v) =~ ^v9.*$ ]] || npm install -g npm@latest' # skipped when using node 9 -- npm install -g greenkeeper-lockfile install: - sudo -H pip install -r requirements.txt - - npm --production=false install - - npm --production=false --legacy-peer-deps update -before_script: greenkeeper-lockfile-update -after_script: greenkeeper-lockfile-upload + - npm ci jobs: include: - stage: test