File: appveyor.yml

package info (click to toggle)
node-nan 2.24.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,188 kB
  • sloc: cpp: 8,007; ansic: 1,604; javascript: 1,588; makefile: 134; sh: 34
file content (60 lines) | stat: -rw-r--r-- 2,026 bytes parent folder | download
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
50
51
52
53
54
55
56
57
58
59
60
# http://www.appveyor.com/docs/appveyor-yml
# https://www.appveyor.com/docs/windows-images-software
# https://nodejs.org/en/about/previous-releases
# https://devguide.python.org/versions

# Test supported Node.js versions before unsupported versions.
# Run on the most current Visual Studio possible for each nodejs_version.
# Run on the earliest supported Python version when possible (currently py39).
# For all supported Node.js versions test also on the latest Python (currently py313).

image:
  - Visual Studio 2022

environment:
  NODE_GYP_FORCE_PYTHON: C:\Python39-x64\python.exe
  matrix:  # Test against these versions of Io.js and Node.js.
    - nodejs_version: "14"
      APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
    - nodejs_version: "12"
      APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
    - nodejs_version: "10"
      APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
    - nodejs_version: "8"
      APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019

matrix:
  fast_finish: true

# Install scripts. (runs after repo cloning)
install:
  # Output useful info for debugging.
  - node --version
  - npm --version
  - py --list
  - py -VV          # py is 64-bit AMD64 Python 3 on Visual Studio images
  - python -VV  # python is 32-bit Intel Python 3 on Visual Studio images
  # Get the latest stable version of Node 0.STABLE.latest
  - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) x64
  - node --version
  - set PATH=%APPDATA%\npm;%PATH%
  # Typical npm stuff.
  - npm install
  - npm run rebuild-tests

# Post-install test scripts.
test_script:
  # Output useful info for debugging.
  - node --version
  - npm --version
  - py --list
  - py -VV          # py is 64-bit AMD64 Python 3 on Visual Studio images
  - python -VV  # python is 32-bit Intel Python 3 on Visual Studio images
  # run tests
  - node node_modules\tap\bin\tap.js --gc test/js/*-test.js

# Don't actually build.
build: off

# Set build version format here instead of in the admin panel.
version: "{build}"