forked from nodejs/node-addon-api
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
44 lines (37 loc) · 861 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
environment:
# https://github.com/jasongin/nvs/blob/master/doc/CI.md
NVS_VERSION: 1.2.0
fast_finish: true
matrix:
- NODEJS_VERSION: node/4
- NODEJS_VERSION: node/6
- NODEJS_VERSION: node/8
- NODEJS_VERSION: nightly
- NODEJS_VERSION: chakracore-nightly
matrix:
fast_finish: true
allow_failures:
- NODEJS_VERSION: nightly
- NODEJS_VERSION: chakracore-nightly
platform:
- x86
- x64
install:
# nvs
- git clone --branch v%NVS_VERSION% --depth 1 https://github.com/jasongin/nvs %LOCALAPPDATA%\nvs
- set PATH=%LOCALAPPDATA%\nvs;%PATH%
- nvs --version
# node.js
- nvs add %NODEJS_VERSION%/%PLATFORM%
- nvs use %NODEJS_VERSION%/%PLATFORM%
- node --version
- node -p process.arch
- npm --version
# app
- npm install
test_script:
- npm test
build: off
version: "{build}"
cache:
- node_modules