-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy path.travis.yml
More file actions
57 lines (49 loc) · 704 Bytes
/
.travis.yml
File metadata and controls
57 lines (49 loc) · 704 Bytes
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
sudo: false
os: windows
language: node_js
node_js:
- 14
- 13
- 12
- 11
- 10
- 9
- 8
- 7
- 6
# matrix:
# allow_failures:
# - node_js: 12
env:
global:
- NOV_LTS=8
matrix:
- PLTFRM=x64
- PLTFRM=x86
git:
depth: false
cache: npm
before_script:
- NOV=`node -v`
- npm run pretest
- cd n-api
- nvs add $NOV_LTS/x86
- nvs use $NOV_LTS/x86
- node -v
- npm -v
- npm install
- npm test
- node deploy
- nvs add $NOV_LTS/x64
- nvs use $NOV_LTS/x64
- node -v
- npm -v
- npm install
- npm test
- node deploy
- cd ..
- nvs add $NOV/$PLTFRM
- nvs use $NOV/$PLTFRM
after_success:
- npm pack
- 7z a root.zip ".\pem\*" "-xr!*.pem"