Skip to content

Commit

Permalink
Use Visual Studio 2015 for Node 6+
Browse files Browse the repository at this point in the history
Node change to Visual Studio 2015 when Node 6 went to LTS.

See nodejs/node#7989
Fixes sass#1854
  • Loading branch information
xzyfer committed Jan 27, 2017
1 parent d628b10 commit 36de131
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,17 @@
- nodejs_version: 4
- nodejs_version: 5
- 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

install:
- ps: Install-Product node $env:nodejs_version $env:platform
- node --version
- npm --version
- npm install --msvs_version=2013
- npm install

test: off

Expand Down Expand Up @@ -111,16 +115,26 @@
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
matrix:
- nodejs_version: 0.10
GYP_MSVS_VERSION: 2013
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
- nodejs_version: 0.12
GYP_MSVS_VERSION: 2013
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
- nodejs_version: 4
GYP_MSVS_VERSION: 2013
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
- 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

install:
- ps: Install-Product node $env:nodejs_version $env:platform
- node --version
- npm --version
- npm install --msvs_version=2013
- npm install

test_script:
- ps: set-location -path c:\projects\node_modules\node-sass
Expand Down

0 comments on commit 36de131

Please sign in to comment.