Skip to content

Commit

Permalink
Install the correct node.js for the current platform on appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbrunsfeld committed Oct 26, 2016
1 parent 0ea0884 commit d08ae69
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d08ae69

Please sign in to comment.