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 55c8188
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
sudo: true
dist: trusty
os:
- linux
- osx
matrix:
include:
- os: linux
- os: 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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"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",
"publish-coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test-coverage": "cross-env NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --timeout 5000 --report lcovonly -- -R spec --recursive test",
"publish-coverage": "mv ./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",
"prepublishOnly": "npm run lint && npm run test"
Expand Down

0 comments on commit 55c8188

Please sign in to comment.