-
Notifications
You must be signed in to change notification settings - Fork 506
/
appveyor.yml
49 lines (42 loc) · 1.1 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
environment:
matrix:
- nodejs_version: "6"
platform: x64
- nodejs_version: "6"
platform: x86
- nodejs_version: "7"
platform: x64
- nodejs_version: "7"
platform: x86
- nodejs_version: "8"
platform: x64
- nodejs_version: "8"
platform: x86
- nodejs_version: "9"
platform: x64
- nodejs_version: "9"
platform: x86
- nodejs_version: "10"
platform: x64
- nodejs_version: "10"
platform: x86
- nodejs_version: "11"
platform: x64
- nodejs_version: "11"
platform: x86
install:
- where npm
- where node
- ps: Install-Product node $env:nodejs_version $env:platform
- 'npm install -g npm@latest'
build: off
artifacts:
- path: 'build/stage/**/bcrypt*.tar.gz'
test_script:
- node --version
- npm --version
- npm test
after_test:
- .\node_modules\.bin\node-pre-gyp package
on_success:
- ps: if ($env:APPVEYOR_REPO_TAG_NAME -match '^v(0|[1-9]+)\.(0|[1-9]+)\.(0|[1-9]+)$') { echo "Publishing"; npm install node-pre-gyp-github@1.3.1; ./node_modules/.bin/node-pre-gyp-github publish --release }