insomnia/.appveyor.yml
Gregory Schier dae20dbe40 bump version
2017-09-09 17:23:23 +01:00

55 lines
1.2 KiB
YAML

image: Visual Studio 2015
build: off
#---------------------------------#
# environment configuration #
#---------------------------------#
shallow_clone: true
platform: x64
environment:
NODEJS_VERSION: "7"
CSC_LINK: '%WINDOWS_CSC_LINK%'
CSC_KEY_PASSWORD: '%WINDOWS_CSC_KEY_PASSWORD%'
# Things to install after repo clone
install:
- ps: Install-Product node $env:NODEJS_VERSION $env:Platform
- node --version
- npm --version
- npm config set msvs_version 2013
- npm install > NUL
- npm test
cache:
- '%APPDATA%\npm-cache -> package.json'
- '%USERPROFILE%\.electron -> package.json'
#---------------------------------#
# tests configuration #
#---------------------------------#
build_script:
- if %APPVEYOR_REPO_TAG%==true npm run build-n-package:win
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: dist\win\*
name: dist
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
description: ''
provider: GitHub
auth_token:
secure: Ffmgxn+wt5WSf/jgJ/L+/3mkUs4fn9Z5j4Dz73VATsgL14Rf/xUp2nOyE0ecow+1
artifact: dist
on:
appveyor_repo_tag: true