-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
35 lines (29 loc) · 919 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
environment:
node_pre_gyp_accessKeyId:
secure: p2BcCi3HR3SnrUwqzFHbJK3slT4FGBc+F9iRy7a6Los=
node_pre_gyp_secretAccessKey:
secure: 6C95HM2rlmtHtyp0FwOH/cjxViVNA3RuAJMh9S/xOyREiBfo8TPFrTTFM1+BmW2l
node_pre_gyp_region: eu-central-1
matrix:
- nodejs_version: "6"
- nodejs_version: "9"
- nodejs_version: "10"
- nodejs_version: "11"
platform:
- x86
- x64
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- node -v
- npm install -g npm
- npm install
- node node_modules\node-pre-gyp\bin\node-pre-gyp info
# Check if new tag released and publish binary in this case.
- SET PUBLISH_BINARY=%APPVEYOR_REPO_TAG%
test_script:
- npm test
build: off
deploy: off
on_success:
- IF %PUBLISH_BINARY% == true (node node_modules\node-pre-gyp\bin\node-pre-gyp package)
- IF %PUBLISH_BINARY% == true (node node_modules\node-pre-gyp\bin\node-pre-gyp publish)