2017-02-15 20:32:15 +00:00
|
|
|
image: Visual Studio 2015
|
2017-02-16 17:10:12 +00:00
|
|
|
build: off
|
2017-11-20 16:07:36 +00:00
|
|
|
test: off
|
2017-02-15 20:32:15 +00:00
|
|
|
|
2017-02-16 17:10:12 +00:00
|
|
|
#---------------------------------#
|
|
|
|
# environment configuration #
|
|
|
|
#---------------------------------#
|
2017-02-15 20:32:15 +00:00
|
|
|
|
|
|
|
platform: x64
|
2017-02-16 17:10:12 +00:00
|
|
|
environment:
|
2019-04-18 00:50:03 +00:00
|
|
|
NODEJS_VERSION: '10'
|
2017-05-24 16:25:43 +00:00
|
|
|
CSC_LINK: '%WINDOWS_CSC_LINK%'
|
|
|
|
CSC_KEY_PASSWORD: '%WINDOWS_CSC_KEY_PASSWORD%'
|
2017-02-15 20:32:15 +00:00
|
|
|
|
2017-02-16 17:10:12 +00:00
|
|
|
# Things to install after repo clone
|
2017-02-15 20:32:15 +00:00
|
|
|
install:
|
2018-07-12 22:35:17 +00:00
|
|
|
- SET "PATH=%PATH%;C:\Program Files\Git\mingw64\libexec\git-core" # For weird git bug
|
2017-05-24 16:25:43 +00:00
|
|
|
- ps: Install-Product node $env:NODEJS_VERSION $env:Platform
|
2017-05-04 18:51:38 +00:00
|
|
|
- node --version
|
|
|
|
- npm --version
|
2018-04-23 12:07:58 +00:00
|
|
|
- npm config set msvs_version 2015
|
2017-11-26 20:45:40 +00:00
|
|
|
- npm run bootstrap
|
2017-05-04 18:51:38 +00:00
|
|
|
- npm test
|
2017-02-15 20:32:15 +00:00
|
|
|
|
|
|
|
cache:
|
2018-03-31 12:04:49 +00:00
|
|
|
- '%USERPROFILE%\.electron -> packages/insomnia-app/package.json'
|
2017-02-15 20:32:15 +00:00
|
|
|
|
2017-02-16 17:10:12 +00:00
|
|
|
#---------------------------------#
|
|
|
|
# tests configuration #
|
|
|
|
#---------------------------------#
|
|
|
|
|
2017-05-04 19:36:45 +00:00
|
|
|
build_script:
|
2017-11-26 21:40:56 +00:00
|
|
|
- if %APPVEYOR_REPO_TAG%==true npm run app-package
|
2017-02-16 17:10:12 +00:00
|
|
|
|
|
|
|
#---------------------------------#
|
2017-05-04 18:51:38 +00:00
|
|
|
# artifacts configuration #
|
2017-02-16 17:10:12 +00:00
|
|
|
#---------------------------------#
|
|
|
|
|
2017-05-04 18:05:21 +00:00
|
|
|
artifacts:
|
2017-11-26 20:45:40 +00:00
|
|
|
- path: packages\insomnia-app\dist\squirrel-windows\*
|
2017-05-04 18:05:21 +00:00
|
|
|
name: dist
|
|
|
|
|
2017-05-04 18:51:38 +00:00
|
|
|
#---------------------------------#
|
|
|
|
# deployment configuration #
|
|
|
|
#---------------------------------#
|
|
|
|
|
2017-05-04 17:37:33 +00:00
|
|
|
deploy:
|
|
|
|
description: ''
|
|
|
|
provider: GitHub
|
|
|
|
auth_token:
|
|
|
|
secure: Ffmgxn+wt5WSf/jgJ/L+/3mkUs4fn9Z5j4Dz73VATsgL14Rf/xUp2nOyE0ecow+1
|
2017-05-04 18:05:21 +00:00
|
|
|
artifact: dist
|
2017-11-20 16:07:36 +00:00
|
|
|
prerelease: true
|
2017-05-04 17:37:33 +00:00
|
|
|
on:
|
|
|
|
appveyor_repo_tag: true
|