From ee21a987a88501cfdcdc58d42031bb5be7be99cf Mon Sep 17 00:00:00 2001 From: Harry Sarson Date: Thu, 26 Jul 2018 13:09:18 +0100 Subject: [PATCH] help greenkeeper to manage lockfiles --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0040783f40..2084864a6d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,18 @@ stages: - test - browser-test +before_install: + - npm install -g npm@6 + - npm install -g greenkeeper-lockfile@1 + +install: npm install + +before_script: greenkeeper-lockfile-update + script: npm run test:src +after_script: greenkeeper-lockfile-upload + # NAME env var is purely cosmetic, only way to identify builds until # https://github.com/travis-ci/travis-ci/issues/5898 is fixed.