-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathappveyor.yml
55 lines (44 loc) · 1.39 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
45
46
47
48
49
50
51
52
53
54
55
skip_branch_with_pr: true
skip_tags: true
os: Visual Studio 2015
configuration: testing
platform:
- x64
version: "{build}"
build: off
clone_folder: c:\projects\node_modules\saxon-node
init:
- cmd: >-
subst s: c:\projects
- ps: set-location -path s:\node_modules\saxon-node
cache:
- '%userprofile%\.node-gyp'
- '%AppData%\npm-cache'
environment:
SAXONC_HOME: C:\Program Files\Saxonica\SaxonHEC1.1.0
matrix:
- nodejs_version: 6
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# - nodejs_version: 7
# GYP_MSVS_VERSION: 2015
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# - nodejs_version: 8
# GYP_MSVS_VERSION: 2015
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# - nodejs_version: 9
# GYP_MSVS_VERSION: 2015
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# - nodejs_version: 10
# GYP_MSVS_VERSION: 2017
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- node --version
- npm --version
- ps: Invoke-WebRequest -Uri 'http://www.saxonica.com/saxon-c/libsaxon-HEC-win-setup-v1.1.0.exe' -OutFile "$env:temp/libsaxon.exe"
- ps: Invoke-Command -ScriptBlock {& cmd /c "$env:temp/libsaxon.exe" /batch}
- npm install
test_script:
- ps: set-location -path c:\projects\node_modules\saxon-node
- npm test