forked from pillarjs/send
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
28 lines (28 loc) · 825 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
environment:
matrix:
- nodejs_version: "0.8"
- nodejs_version: "0.10"
- nodejs_version: "0.12"
- nodejs_version: "1.8"
- nodejs_version: "2.5"
- nodejs_version: "3.3"
- nodejs_version: "4.4"
- nodejs_version: "5.11"
- nodejs_version: "6.2"
cache:
- node_modules
install:
- ps: Install-Product node $env:nodejs_version
- if "%nodejs_version%" equ "0.8" npm rm --save-dev istanbul
- npm rm --save-dev eslint eslint-config-standard eslint-plugin-promise eslint-plugin-standard
- if exist node_modules npm prune
- if exist node_modules npm rebuild
- npm install
build: off
test_script:
- node --version
- npm --version
- set npm_test_command=test
- for /f %%l in ('npm -ps ls istanbul') do set npm_test_command=test-ci
- npm run %npm_test_command%
version: "{build}"