29 lines
526 B
YAML
29 lines
526 B
YAML
image: Visual Studio 2015
|
|
|
|
environment:
|
|
NODEJS_VERSION: "8"
|
|
PREBUILD_UPLOAD:
|
|
secure: oNyyLE7/Oq3TUGZPz6DkLFPUuQzc8FiFS1iuPp7LZ2fyOP/UF4Np4NzJmWcXVyY/
|
|
|
|
platform:
|
|
- x64
|
|
- x86
|
|
|
|
install:
|
|
- ps: Install-Product node $env:NODEJS_VERSION $env:Platform
|
|
- node --version
|
|
- npm --version
|
|
- npm install
|
|
|
|
test_script:
|
|
- npm run test-windows
|
|
|
|
build: off
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- /^v.*$/
|
|
|
|
deploy_script: IF "%APPVEYOR_REPO_TAG%" == "true" (npm run prebuild && npm run prebuild:upload -u %PREBUILD_UPLOAD%)
|