Skip to content

Commit 7485ded

Browse files
committedDec 21, 2018
ci: test on windows
1 parent ad3c359 commit 7485ded

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
 

‎.travis.yml

+16
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
11
sudo: false
2+
3+
git:
4+
depth: 10
5+
6+
branches:
7+
only:
8+
- master
9+
210
language: node_js
11+
12+
# cache node modules
13+
cache:
14+
directories:
15+
- $HOME/.npm
16+
- node_modules
17+
318
node_js:
419
- "4"
520
- "6"
621
- "8"
722
- "10"
823
- "11"
24+
925
script: npm run travis
1026

1127
after_success: cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose && rm -rf ./coverage

‎appveyor.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# https://www.appveyor.com/docs/appveyor-yml
2+
3+
environment:
4+
matrix:
5+
- nodejs_version: 4
6+
- nodejs_version: 6
7+
- nodejs_version: 8
8+
- nodejs_version: 10
9+
- nodejs_version: 11
10+
11+
clone_depth: 10
12+
13+
version: "{build}"
14+
build: off
15+
deploy: off
16+
17+
branches:
18+
only:
19+
- master
20+
21+
install:
22+
- ps: Install-Product node $env:nodejs_version
23+
- npm install
24+
25+
cache:
26+
- node_modules
27+
28+
test_script:
29+
- node --version
30+
- npm --version
31+
- cmd: "npm run travis"

0 commit comments

Comments
 (0)
Please sign in to comment.