Skip to content

Commit b47ca80

Browse files
committed
chore: add CI setup
1 parent 80e164e commit b47ca80

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
node_js:
3+
- '7'
4+
- '6'
5+
- '4'
6+
before_install:
7+
- npm i -g npm
8+
after_success: npm run coveralls

appveyor.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
environment:
2+
matrix:
3+
- nodejs_version: '7'
4+
- nodejs_version: '6'
5+
- nodejs_version: '4'
6+
install:
7+
- ps: Install-Product node $env:nodejs_version
8+
- set CI=true
9+
- npm -g install npm@latest
10+
- set PATH=%APPDATA%\npm;%PATH%
11+
- npm install
12+
matrix:
13+
fast_finish: true
14+
build: off
15+
version: '{build}'
16+
shallow_clone: true
17+
clone_depth: 1
18+
test_script:
19+
- node --version
20+
- npm --version
21+
- npm test

0 commit comments

Comments
 (0)