From 00c7d2261dd8821c7d07d69a53f5cb6da2c26923 Mon Sep 17 00:00:00 2001 From: Palash Mondal Date: Sun, 8 Jul 2018 11:35:06 +0530 Subject: [PATCH] Fix greenkeeper-lockfile & ci build This fixes the issue where greenkeeper ci build was failing due to `npm ci` Ref: https://github.com/greenkeeperio/greenkeeper-lockfile/issues/156 --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2c1aee12..fbd7b595 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,9 @@ cache: before_install: - npm install -g npm@5 - npm install -g greenkeeper-lockfile@1 + +install: case $TRAVIS_BRANCH in greenkeeper*) npm i;; *) npm ci;; esac; + before_script: - greenkeeper-lockfile-update script: