dist: trusty
language: node_js
node_js:
  - "6"
cache:
  directories:
    - node_modules
before_install:
  - npm install -g npm@5
  - npm install -g greenkeeper-lockfile@1
before_script:
  - greenkeeper-lockfile-update
script:
  - npm run lint
after_script: greenkeeper-lockfile-upload
notifications:
  email: false

dist: trusty
language: node_js
node_js:
  - "6"
cache:
  directories:
    - node_modules
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:
  - npm run lint
after_script: greenkeeper-lockfile-upload
notifications:
  email: false

Fix greenkeeper-lockfile & ci build
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