From e2df4e475d8f267763df5ad441f9d9a12fb6e995 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Thu, 15 Jun 2017 04:14:01 +0000 Subject: [PATCH 1/3] docs(readme): add Greenkeeper badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c81a4ab0..0dd8e635 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # elastic-builder +[![Greenkeeper badge](https://badges.greenkeeper.io/sudo-suhas/elastic-builder.svg)](https://greenkeeper.io/) + [![Build Status](https://travis-ci.org/sudo-suhas/elastic-builder.svg?branch=master)](https://travis-ci.org/sudo-suhas/elastic-builder) [![Coverage Status](https://coveralls.io/repos/github/sudo-suhas/elastic-builder/badge.svg?branch=master)](https://coveralls.io/github/sudo-suhas/elastic-builder?branch=master) From 5735845c6b73e70740f518c134548a18c14916a4 Mon Sep 17 00:00:00 2001 From: Suhas Karanth Date: Fri, 16 Jun 2017 09:52:12 +0530 Subject: [PATCH 2/3] Revert "docs(readme): add Greenkeeper badge" This reverts commit e2df4e475d8f267763df5ad441f9d9a12fb6e995. --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 0dd8e635..c81a4ab0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # elastic-builder -[![Greenkeeper badge](https://badges.greenkeeper.io/sudo-suhas/elastic-builder.svg)](https://greenkeeper.io/) - [![Build Status](https://travis-ci.org/sudo-suhas/elastic-builder.svg?branch=master)](https://travis-ci.org/sudo-suhas/elastic-builder) [![Coverage Status](https://coveralls.io/repos/github/sudo-suhas/elastic-builder/badge.svg?branch=master)](https://coveralls.io/github/sudo-suhas/elastic-builder?branch=master) From c57d9d3b9d3e8958c3b0120d1fadff6154d05961 Mon Sep 17 00:00:00 2001 From: Suhas Karanth Date: Fri, 16 Jun 2017 09:55:07 +0530 Subject: [PATCH 3/3] ci: Configure greenkeeper-lockfile --- .travis.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bd5b2ab1..bb33105e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,29 @@ language: node_js + cache: directories: - node_modules + node_js: - '8' - '7' - '6' - '4' + branches: except: - /^v\d+\.\d+\.\d+$/ + +before_install: +# package-lock.json was introduced in npm@5 + - npm install -g npm@5 + - npm install -g greenkeeper-lockfile@1 + +before_script: greenkeeper-lockfile-update + script: npm run check -after_success: npm run coverage + +# Only the node version 8 job will upload the lockfile +after_script: + - greenkeeper-lockfile-upload + - npm run coverage