2018-05-24 17:08:20 +00:00
|
|
|
image: Visual Studio 2015
|
|
|
|
|
|
|
|
environment:
|
2018-07-23 18:01:32 +00:00
|
|
|
NODEJS_VERSION: "8"
|
|
|
|
PREBUILD_UPLOAD:
|
|
|
|
secure: oNyyLE7/Oq3TUGZPz6DkLFPUuQzc8FiFS1iuPp7LZ2fyOP/UF4Np4NzJmWcXVyY/
|
2018-05-24 17:08:20 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
2018-07-22 18:13:32 +00:00
|
|
|
- x86
|
2018-05-24 17:08:20 +00:00
|
|
|
|
|
|
|
install:
|
2018-07-23 18:01:32 +00:00
|
|
|
- ps: Install-Product node $env:NODEJS_VERSION $env:Platform
|
2018-05-24 17:08:20 +00:00
|
|
|
- node --version
|
|
|
|
- npm --version
|
|
|
|
- npm install
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- npm run test-windows
|
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2018-07-22 18:13:32 +00:00
|
|
|
- /^v.*$/
|
|
|
|
|
|
|
|
deploy_script: IF "%APPVEYOR_REPO_TAG%" == "true" (npm run prebuild && npm run prebuild:upload -u %PREBUILD_UPLOAD%)
|