Skip to content

Commit

Permalink
Cat npm-debug.logs on failure (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-wade authored and gigabo committed Jun 24, 2016
1 parent 761312a commit 64614eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ addons:

before_script:
- npm run bootstrap

after_failure:
- npm run debug
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 64614eb

Please sign in to comment.