From 1490f8266da6e206c0821d5550bd008bb0732be6 Mon Sep 17 00:00:00 2001 From: Andrew Petersen Date: Thu, 27 Oct 2016 16:18:12 -0400 Subject: [PATCH 1/6] Add build / coverage badges --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index edcb4a4..7cb99b4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -bucket-runner +bucket-runner [![Build Status](https://travis-ci.org/spotify/bucket-runner.svg?branch=master)](https://travis-ci.org/spotify/bucket-runner) [![Coverage Status](https://coveralls.io/repos/github/spotify/bucket-runner/badge.svg?branch=master)](https://coveralls.io/github/spotify/bucket-runner?branch=master) ============= Run a command in parallel, distributing the input files to each and buffer output to prevent interleaving. Kind of like xargs but with control over output. From 12230a72c37b3568d1e548d8c445cbf21e2aea7b Mon Sep 17 00:00:00 2001 From: Andrew Petersen Date: Thu, 27 Oct 2016 16:36:49 -0400 Subject: [PATCH 2/6] Prevent double test run. add missing eslint deps --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2e8e0dd..807d308 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "lint:fix": "npm run lint -- --fix", "coverage:report": "nyc report --reporter=text-lcov | coveralls", "coverage:html": "nyc report --reporter=html", - "prepublish": "npm run test" + "prepublish": "in-publish && npm run test || not-in-publish" }, "keywords": [ "mocha", @@ -44,8 +44,12 @@ "license": "Apache 2.0", "devDependencies": { "coveralls": "^2.11.9", - "eslint": "^3.7.1", + "eslint": "^3.8.1", "eslint-config-airbnb": "^12.0.0", + "eslint-plugin-import": "^1.16.0", + "eslint-plugin-jsx-a11y": "^2.2.3", + "eslint-plugin-react": "^6.4.1", + "in-publish": "^2.0.0", "istanbul": "^1.0.0-alpha.2", "mocha": "^2.4.5", "nyc": "^6.4.0", From f45dbe60035f09dc1210188ae251cafb5ede2249 Mon Sep 17 00:00:00 2001 From: Andrew Petersen Date: Thu, 27 Oct 2016 16:49:12 -0400 Subject: [PATCH 3/6] remove node 0.12 support. eslint does not support it --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 084e99f..f7cbcee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: node_js sudo: false node_js: -- '0.12' - '4' - '6' +- '7' From 4ed9c45654f500a1e6a5a21d3bcc4acf1d58ddae Mon Sep 17 00:00:00 2001 From: Andrew Petersen Date: Thu, 27 Oct 2016 16:52:55 -0400 Subject: [PATCH 4/6] make node 4 optional failure --- .travis.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f7cbcee..2bf58d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ language: node_js sudo: false node_js: -- '4' -- '6' -- '7' + - '4' + - '6' + - '7' + +matrix: + allow_failures: + - node_js: "4" From c38786ea2eb6d38fd781d914d042156cca1c2396 Mon Sep 17 00:00:00 2001 From: Andrew Petersen Date: Thu, 27 Oct 2016 16:56:25 -0400 Subject: [PATCH 5/6] report coverage on success --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2bf58d5..8867d43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,3 +8,6 @@ node_js: matrix: allow_failures: - node_js: "4" + +after_success: + - npm run coverage:report From 2fbe0d5c9c64e1460ec143b3f5465aa274cf03cc Mon Sep 17 00:00:00 2001 From: Andrew Petersen Date: Thu, 27 Oct 2016 17:06:33 -0400 Subject: [PATCH 6/6] 3.1.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 807d308..dfd0b35 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bucket-runner", - "version": "3.1.0", + "version": "3.1.1", "description": "Execute a command in parallel, distributing files and buffering output.", "main": "index.js", "bin": {