2017-12-13 18:15:52 +00:00
|
|
|
# appveyor file
|
|
|
|
# http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
|
2019-05-23 00:44:08 +00:00
|
|
|
image: Visual Studio 2017
|
|
|
|
|
2017-12-13 18:15:52 +00:00
|
|
|
init:
|
|
|
|
- git config --global core.autocrlf input
|
|
|
|
|
|
|
|
cache:
|
|
|
|
- C:\Users\appveyor\.node-gyp
|
|
|
|
- '%AppData%\npm-cache'
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
# what combinations to test
|
|
|
|
environment:
|
|
|
|
matrix:
|
2019-05-23 00:44:08 +00:00
|
|
|
- nodejs_version: 10
|
2017-12-13 18:15:52 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: Install-Product node $env:nodejs_version x64
|
|
|
|
- set PATH=%APPDATA%\npm;%PATH%
|
2019-05-23 00:44:08 +00:00
|
|
|
- npm config set python 'C:\Python27\python.exe'
|
2017-12-13 18:15:52 +00:00
|
|
|
- npm install
|
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- node --version
|
|
|
|
- npm --version
|
2019-05-23 00:44:08 +00:00
|
|
|
- npm test
|
2017-12-13 18:15:52 +00:00
|
|
|
|
|
|
|
deploy_script:
|
2019-05-23 00:44:08 +00:00
|
|
|
- node --version
|
|
|
|
- npm --version
|
|
|
|
- npm run build:standalone
|
|
|
|
- npm run build:installer
|
2017-12-13 18:15:52 +00:00
|
|
|
- IF "%APPVEYOR_REPO_TAG%" == "true" (npm run release)
|
|
|
|
- IF NOT "%APPVEYOR_REPO_TAG%" == "true" (echo 'Not tagged, skipping deploy')
|