Skip to content

Commit

Permalink
ci: test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi committed Dec 21, 2018
2 parents ad3c359 + 7485ded commit 6fb379f
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
@@ -1,11 +1,27 @@
sudo: false

git:
depth: 10

branches:
only:
- master

language: node_js

# cache node modules
cache:
directories:
- $HOME/.npm
- node_modules

node_js:
- "4"
- "6"
- "8"
- "10"
- "11"

script: npm run travis

after_success: cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose && rm -rf ./coverage
31 changes: 31 additions & 0 deletions appveyor.yml
@@ -0,0 +1,31 @@
# https://www.appveyor.com/docs/appveyor-yml

environment:
matrix:
- nodejs_version: 4
- nodejs_version: 6
- nodejs_version: 8
- nodejs_version: 10
- nodejs_version: 11

clone_depth: 10

version: "{build}"
build: off
deploy: off

branches:
only:
- master

install:
- ps: Install-Product node $env:nodejs_version
- npm install

cache:
- node_modules

test_script:
- node --version
- npm --version
- cmd: "npm run travis"

0 comments on commit 6fb379f

Please sign in to comment.