-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathappveyor.yml
79 lines (67 loc) · 1.15 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: 1.0.{build}-{branch}
cache:
- node_modules -> appveyor.yml
shallow_clone: true
matrix:
allow_failures:
- NOV: 14
environment:
matrix:
- NOV: 21
- NOV: 20
- NOV: 19
- NOV: 18
- NOV: 17
- NOV: 16
- NOV: 15
- NOV: 14
- NOV: 13
- NOV: 12
- NOV: 11
- NOV: 10
- NOV: 9
- NOV: 8
- NOV: 7
- NOV: 6
NOV_LTS: 8
platform:
- x64
- x86
install:
# Install NVS.
- git clone --depth 1 https://github.com/jasongin/nvs %LOCALAPPDATA%\nvs
- set PATH=%LOCALAPPDATA%\nvs;%PATH%
- nvs --version
# Build N-API
- nvs add %NOV_LTS%/x86
- nvs use %NOV_LTS%/x86
- npm install
- npm run pretest
- cd n-api
- npm install
- npm test
- node deploy
- nvs add %NOV_LTS%/x64
- nvs use %NOV_LTS%/x64
- npm install
- npm test
- node deploy
- cd ..
- nvs add %NOV%/%PLATFORM%
- nvs use %NOV%/%PLATFORM%
build: off
before_test:
- openssl version
- node -v
- npm -v
test_script:
- npm test
after_test:
- npm pack
- 7z a root.zip .\pem\* -xr!*.pem
artifacts:
- path: root.zip
name: Root certificates
type: zip
- path: .\*.tgz
name: NPM package(s)