From 228aa3a7bcdeb0c550ae71005cf44e82e151507a Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Tue, 27 Aug 2019 16:31:33 -0500 Subject: [PATCH 1/3] remove quotes around npm script args --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 281595a..8d30065 100644 --- a/package.json +++ b/package.json @@ -36,12 +36,12 @@ "uuid": "^3.3.3" }, "scripts": { - "test": "tap --no-cov 'test/**/*.test.js'", - "test:cov": "tap 'test/**/*.test.js'", - "test:cov:html": "tap --coverage-report=html 'test/**/*.test.js'", - "test:watch": "tap -n -w --no-coverage-report 'test/**/*.test.js'", - "lint": "standard 'examples/**/*.js' 'lib/**/*.js' 'test/**/*.js' | snazzy", - "lint:ci": "standard 'examples/**/*.js' 'lib/**/*.js' 'test/**/*.js'" + "test": "tap --no-cov test/**/*.test.js", + "test:cov": "tap test/**/*.test.js", + "test:cov:html": "tap --coverage-report=html test/**/*.test.js", + "test:watch": "tap -n -w --no-coverage-report test/**/*.test.js", + "lint": "standard examples/**/*.js lib/**/*.js test/**/*.js | snazzy", + "lint:ci": "standard examples/**/*.js lib/**/*.js test/**/*.js" }, "husky": { "hooks": { From 02dd19d8c2fa4487062d6383de8a63d3076e74e9 Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Tue, 27 Aug 2019 16:32:09 -0500 Subject: [PATCH 2/3] enable travis tests on windows --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 53706b8..251f24f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ jobs: script: npm run test:cov node_js: node - node_js: lts/* - # - os: windows - # node_js: node - # - os: windows - # node_js: lts/* + - os: windows + node_js: node + - os: windows + node_js: lts/* From 303d963fb39bd52c05e3bfb9afa73ad7437af5af Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Tue, 27 Aug 2019 16:54:19 -0500 Subject: [PATCH 3/3] explicitly list os and script --- .travis.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 251f24f..5eb0b39 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,10 +24,18 @@ jobs: node_js: lts/* - stage: test 👩🏽‍💻 + os: linux script: npm run test:cov node_js: node - - node_js: lts/* - - os: windows - node_js: node - - os: windows + + - os: linux + script: npm run test:cov + node_js: lts/* + + - os: windows + script: npm run test:cov + node_js: node + + - os: windows + script: npm run test:cov node_js: lts/*