Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Commit

Permalink
New try on getting nyc running on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissearle committed Mar 31, 2016
1 parent 343fe19 commit 569f5e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ node_js:
- stable
script:
- npm run lint
- npm run test:ci
- npm run test:coverage
after_success: npm run coverage:codecov
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
"docker:deploy": "./scripts/deploy_image.sh",
"doit": "./scripts/doit.sh",
"test": "mocha --compilers js:babel-core/register --require ./test/test_helper.js 'test/**/*.@(js)'",
"test:coverage": "nyc npm run test",
"test:watch": "npm run test -- --watch",
"test:coverage": "nyc npm run test && nyc report --reporter=lcov",
"test:ci": "npm run test:coverage && codecov",
"coverage:report": "nyc report --reporter=lcov",
"coverage:codecov": "npm run coverage:report && codecov",
"start": "webpack-dev-server --config webpack-dev.config.js"
},
"babel": {
Expand Down

0 comments on commit 569f5e3

Please sign in to comment.