Skip to content

Commit 0b45284

Browse files
author
Kelly Selden
committed
add CI
1 parent af66a1d commit 0b45284

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: node_js
2+
node_js:
3+
- '8'
4+
- node
5+
branches:
6+
only:
7+
- v3
8+
cache:
9+
directories:
10+
- "$HOME/.npm"

appveyor.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
environment:
2+
matrix:
3+
- nodejs_version: "8"
4+
5+
branches:
6+
only:
7+
- v3
8+
9+
# Fix line endings in Windows. (runs before repo cloning)
10+
init:
11+
- git config --global core.autocrlf true
12+
13+
# Install scripts. (runs after repo cloning)
14+
install:
15+
- ps: Install-Product node $env:nodejs_version
16+
17+
# Post-install test scripts.
18+
test_script:
19+
- node --version
20+
- npm --version
21+
- npm test
22+
23+
# http://help.appveyor.com/discussions/questions/1310-delete-cache
24+
cache:
25+
- node_modules -> package.json
26+
27+
# Don't actually build.
28+
build: off

0 commit comments

Comments
 (0)