From 83d63fb612eb95d6fda6dcc482445cfada68d0e0 Mon Sep 17 00:00:00 2001 From: Michael Orenstein Date: Wed, 1 Mar 2017 13:24:19 +1000 Subject: [PATCH 1/2] Initial Appveyor config --- appveyor.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..d18b5e7 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,43 @@ +os: unstable +environment: + matrix: + - nodejs_version: "6" + - nodejs_version: "7" + +platform: + - x86 + - x64 + +install: + - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform; + - ps: $env:Path += ";$(pwd)\node_modules\.bin"; + - ps: > + @{ + "nodejs_version" = $env:nodejs_version + "platform" = $env:platform + "node binary version" = $(node -v) + "node platform@arch" = $(node -p 'process.platform + process.arch') + "npm version" = $(npm -v) + "APPVEYOR_REPO_COMMIT_MESSAGE" = $env:APPVEYOR_REPO_COMMIT_MESSAGE + "git latest tag" = "$(git describe --tags --always HEAD)" + "appveyor_repo_tag" = $env:appveyor_repo_tag + } | Out-String | Write-Host; + + # Cleanup the output of npm + - ps: > + npm config set progress false + npm config set spin false + + # Install dependencies + - npm install + +build_script: + - npm run compile + +test_script: + - npm run test + +deploy: OFF + +matrix: + fast_finish: true From 85c4d956f45d5ca3601b056c73b2eb031f6a430c Mon Sep 17 00:00:00 2001 From: Michael Orenstein Date: Wed, 1 Mar 2017 15:04:56 +1000 Subject: [PATCH 2/2] Removed 32bit and node 7 from the matrix to reduce build time. --- appveyor.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index d18b5e7..74343e6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,10 +2,8 @@ os: unstable environment: matrix: - nodejs_version: "6" - - nodejs_version: "7" platform: - - x86 - x64 install: