forked from kelektiv/node.bcrypt.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
44 lines (39 loc) · 1.07 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
environment:
matrix:
- nodejs_version: "0.10"
platform: x64
- nodejs_version: "0.10"
platform: x86
- nodejs_version: "0.12"
platform: x64
- nodejs_version: "0.12"
platform: x86
- nodejs_version: "4"
platform: x64
- nodejs_version: "4"
platform: x86
- nodejs_version: "5"
platform: x64
- nodejs_version: "5"
platform: x86
- nodejs_version: "6"
platform: x64
- nodejs_version: "6"
platform: x86
install:
- where npm
- where node
- ps: Install-Product node $env:nodejs_version $env:platform
- for /f "delims=" %%a in ('where npm') do cd %%a\.. && npm install npm@latest
- for /f "delims=" %%a in ('where npm') do cd %%a\.. && npm install node-pre-gyp@latest
- 'if "%nodejs_version%_%platform%" == "4_x86" (npm config set -g cafile=package.json && npm config set -g strict-ssl=false)'
build: off
artifacts:
- path: 'build/stage/**/bcrypt*.tar.gz'
- path: package.json
test_script:
- node --version
- npm --version
- npm test
after_test:
- node-pre-gyp package