forked from eelcocramer/node-bluetooth-serial-port
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
40 lines (36 loc) · 977 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
36
37
38
39
40
environment:
# Visual Studio Version
MSVS_VERSION: 2017
# Test against these versions of Node.js and io.js
matrix:
# node.js
- nodejs_version: "10"
- nodejs_version: "11"
- nodejs_version: "12"
- nodejs_version: "14"
- nodejs_version: "16"
platform:
- x86
- x64
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version $env:Platform
# install modules
- node --version
- npm -g install npm@latest
- npm --version
- node -e "console.log(process.arch);"
- if "%PLATFORM%" == "x64" SET PATH=C:\Python27-x64;%PATH%
- if "%PLATFORM%" == "x86" SET PATH=C:\python27;%PATH%
- npm install node-gyp
- npm update
- npm run install-debug
# Post-install test scripts.
test_script:
# run tests
- node_modules\.bin\node-gyp configure
- node_modules\.bin\node-gyp build
- node test\index.js
# Don't actually build.
build: off