forked from mathiask88/node-snap7
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
42 lines (36 loc) · 972 Bytes
/
appveyor.yml
File metadata and controls
42 lines (36 loc) · 972 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
# http://www.appveyor.com/docs/appveyor-yml
environment:
# Test against these versions of Node.js
matrix:
# node.js
- nodejs_version: "12"
- nodejs_version: "10"
- nodejs_version: "8"
- nodejs_version: "6"
# Build on both platforms
platform:
- x86
- x64
# Install scripts. (runs after repo cloning)
install:
# Select node version $env:nodejs_version
- ps: |
try {
Install-Product node $env:nodejs_version $env:platform
} catch {
echo "Unable to install node $env:nodejs_version, trying update..."
Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
}
# Output useful info for debugging.
- node --version
- npm --version
# Install modules
- npm install
# Post-install test scripts.
test_script:
# run tests
- npm test
# Don't actually build.
build: off
# Set build version format here instead of in the admin panel.
version: "{build}"