Skip to content

Commit 641e2ed

Browse files
committed
ci: fix VS image selection on Windows
1 parent 97e7d18 commit 641e2ed

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

appveyor.yml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,42 @@
1-
# http://www.appveyor.com/docs/appveyor-yml
2-
3-
# Test against these versions of Node.js.
41
environment:
52
matrix:
63
- nodejs_version: "4"
7-
os: Visual Studio 2015
4+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
85
GYP_MSVS_VERSION: "2013"
96
- nodejs_version: "4"
10-
os: Visual Studio 2015
7+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
118
GYP_MSVS_VERSION: "2015"
129
- nodejs_version: "6"
13-
os: Visual Studio 2015
10+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
1411
GYP_MSVS_VERSION: "2013"
1512
- nodejs_version: "6"
16-
os: Visual Studio 2015
13+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
1714
GYP_MSVS_VERSION: "2015"
1815
- nodejs_version: "8"
19-
os: Visual Studio 2015
16+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2017
GYP_MSVS_VERSION: "2013"
2118
- nodejs_version: "8"
22-
os: Visual Studio 2015
19+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2320
GYP_MSVS_VERSION: "2015"
2421
- nodejs_version: "10"
25-
os: Visual Studio 2015
22+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2623
GYP_MSVS_VERSION: "2015"
2724
- nodejs_version: "12"
28-
os: Visual Studio 2017
25+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
2926
GYP_MSVS_VERSION: "2017"
3027

3128

32-
# Install scripts. (runs after repo cloning)
3329
install:
34-
# Get the latest stable version of Node
3530
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) x64
36-
# Typical npm stuff.
3731
- set CL=-DDELAYIMP_INSECURE_WRITABLE_HOOKS
3832
- npm install
3933

40-
# Post-install test scripts.
4134
test_script:
42-
# Output useful info for debugging.
35+
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
4336
- node --version
4437
- npm --version
45-
# run tests
4638
- npm test
4739

48-
# Don't actually build.
4940
build: off
50-
51-
# Set build version format here instead of in the admin panel.
41+
shallow_clone: true
5242
version: "{build}"

0 commit comments

Comments
 (0)