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

Commit

Permalink
chore(travis): add Windows target to travis.yml plus minor adjustment…
Browse files Browse the repository at this point in the history
… to mocha script so it works on Windows properly
  • Loading branch information
bochaco committed Apr 3, 2019
1 parent eff0f62 commit 634272f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 634272f

Please sign in to comment.