environment: version: 20171225 affix: xppq matrix: - nodejs_version: "4" - nodejs_version: "5" - nodejs_version: "6" - nodejs_version: "7" - nodejs_version: "8" - nodejs_version: "9" skip_tags: true platform: - x86 - x64 # configuration: Release os : # - Visual Studio 2013 # - Visual Studio 2015 - Visual Studio 2017 install: - ps: Install-Product node $env:nodejs_version $env:platform - npm install -g node-gyp - npm install -g node-pre-gyp # to allow use as command in a console (for the build). - npm install node-pre-gyp # to allow use as module in a JS file (for the test). - npm install njsq before_build: - node-pre-gyp configure build_script: - node-pre-gyp /m build after_build: - node -e "console.log( process.versions.modules + ' - ' + require('./package.json').version)" - if "%platform%"=="x86" set platform=ia32 - echo | set /p="%affix%njs-v%version%" >>tmpfile.tmp || true - echo | set /p="-win32-" >>tmpfile.tmp || true - echo | set /p="%platform%" >>tmpfile.tmp || true - set /p addon=