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",