diff --git a/.travis.yml b/.travis.yml index 7a9120315..d3935968b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,15 +13,9 @@ env: cache: directories: - "$HOME/.npm" -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: -- if [[ ${TRAVIS_BRANCH:0:11} = greenkeeper ]]; then npm install --production=false; else npm ci --production=false; fi -before_script: greenkeeper-lockfile-update +- npm ci --production=false script: npm run $NPM_SCRIPT -after_script: greenkeeper-lockfile-upload jobs: include: - env: NPM_SCRIPT=lint diff --git a/README.md b/README.md index 6bd31f90e..199de636e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ [![Build Status](https://travis-ci.org/LLK/scratch-vm.svg?branch=develop)](https://travis-ci.org/LLK/scratch-vm) [![Coverage Status](https://coveralls.io/repos/github/LLK/scratch-vm/badge.svg?branch=develop)](https://coveralls.io/github/LLK/scratch-vm?branch=develop) -[![Greenkeeper badge](https://badges.greenkeeper.io/LLK/scratch-vm.svg)](https://greenkeeper.io/) ## Installation This requires you to have Git and Node.js installed.