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

chore(travis): add Windows target for Travis CI #364

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 --report lcovonly -- -R spec --recursive test --timeout 6000",
"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