Commit c58dcbb9 authored by Karishma Chadha's avatar Karishma Chadha

Update travis.yml to remove greenkeeper specific parts. Use npm ci instead of install and update.

parent ca392e6d
...@@ -108,16 +108,9 @@ addons: ...@@ -108,16 +108,9 @@ addons:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-4.8 - 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: install:
- sudo -H pip install -r requirements.txt - sudo -H pip install -r requirements.txt
- npm --production=false install - npm ci
- npm --production=false --legacy-peer-deps update
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
jobs: jobs:
include: include:
- stage: test - stage: test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment