Skip to content

Commit

Permalink
build!: moving to c8 for coverage and dropping Node 6 from build matr…
Browse files Browse the repository at this point in the history
…ix (#209)
  • Loading branch information
bcoe committed Oct 26, 2019
1 parent a44ffb3 commit f3a9316
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
Expand Up @@ -3,8 +3,15 @@ os:
- linux
- windows
node_js:
- "6"
- "8"
- "10"
- "node"
after_script: npm run coverage
- "12"
- "13"

jobs:
include:
- stage: coverage
node_js: "13"
script:
- npm t
- npm run coverage
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -4,9 +4,9 @@
"description": "the mighty option parser used by yargs",
"main": "index.js",
"scripts": {
"test": "nyc mocha test/*.js",
"test": "c8 --reporter=text --reporter=html mocha test/*.js",
"posttest": "standard",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"coverage": "c8 report --reporter=text-lcov | coveralls",
"release": "standard-version"
},
"repository": {
Expand All @@ -26,10 +26,10 @@
"author": "Ben Coe <ben@npmjs.com>",
"license": "ISC",
"devDependencies": {
"c8": "^6.0.0",
"chai": "^4.2.0",
"coveralls": "^3.0.2",
"mocha": "^5.2.0",
"nyc": "^14.1.0",
"standard": "^12.0.1",
"standard-version": "^6.0.0"
},
Expand Down

0 comments on commit f3a9316

Please sign in to comment.