From f3a9316e470b0cc5c01981c9614ee935835d719b Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Sat, 26 Oct 2019 14:54:20 -0700 Subject: [PATCH] build!: moving to c8 for coverage and dropping Node 6 from build matrix (#209) --- .travis.yml | 13 ++++++++++--- package.json | 6 +++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index bf5a96a7..73a542d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/package.json b/package.json index f2914039..7de02a6f 100644 --- a/package.json +++ b/package.json @@ -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": { @@ -26,10 +26,10 @@ "author": "Ben Coe ", "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" },