diff --git a/.travis.yml b/.travis.yml index d58e77c..c968c50 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,9 @@ dist: trusty os: - linux - osx +- os: windows + env: + - YARN_GPG=no # otherwise this starts gpg-agent that never exits language: node_js node_js: - '10.0.0' diff --git a/package.json b/package.json index ab21a49..4611efe 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "postinstall": "download_deps --package package.json", "docs": "rimraf docs/ && jsdoc -c jsdoc.json", "test": "cross-env NODE_ENV=test mocha --recursive", - "test-coverage": "cross-env NODE_ENV=test istanbul cover _mocha --report lcovonly -- -R spec --recursive test", + "test-coverage": "cross-env NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --timeout 5000 --report lcovonly -- -R spec --recursive test", "publish-coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", "pre-pack": "npm run lint", "prepush": "npm run lint && cross-env NODE_ENV=dev npm run test",