From d08ae692042645afd12dcf49fc7f0d4d478c6ae6 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 26 Oct 2016 15:13:24 -0700 Subject: [PATCH] Install the correct node.js for the current platform on appveyor --- appveyor.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6dc1718fd..5c1c93611 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,14 +1,16 @@ os: Visual Studio 2015 environment: - nodejs_version: "6" + NODEJS_VERSION: "6" platform: - x86 - x64 install: - - ps: Install-Product node $env:nodejs_version + - ps: Install-Product node $env:NODEJS_VERSION $env:PLATFORM + - node -e "console.log(process.arch, process.versions)" + - curl -sSf -o rustup-init.exe https://win.rustup.rs - rustup-init.exe -y - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin