From 120f9ba77a2c41e5cec5fbbfa6e8cef83592de10 Mon Sep 17 00:00:00 2001 From: Doug Wade Date: Mon, 20 Jun 2016 14:50:19 -0700 Subject: [PATCH] Cat npm-debug.logs on failure --- .travis.yml | 3 +++ package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9e02e415c..f246e9856 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,3 +15,6 @@ addons: before_script: - npm run bootstrap + +after_failure: + - npm run debug diff --git a/package.json b/package.json index e2466f06f..942a6a241 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "bootstrap": "npm i; lerna bootstrap", "test": "lerna run test", "clean": "rimraf lerna-debug.log && lerna run clean", - "nuke": "lerna clean && rm -r node_modules" + "nuke": "lerna clean && rm -r node_modules", + "debug": "cat lerna-debug.log && for d in packages/*/npm-debug.log*; do echo $d; cat $d; done" }, "devDependencies": { "babel-plugin-react-require": "^2.1.0",