insomnia/.appveyor.yml

55 lines
1.2 KiB
YAML
Raw Normal View History

image: Visual Studio 2015
build: off
#---------------------------------#
# environment configuration #
#---------------------------------#
shallow_clone: true
platform: x64
environment:
nodejs_version: "7.4.0"
# Things to install after repo clone
install:
- ps: Install-Product node $env:nodejs_version $env:Platform
2017-02-27 21:10:34 +00:00
- npm install -g npm@latest > Nul
- npm config set msvs_version 2013
2017-02-27 21:10:34 +00:00
- npm install > NUL
2017-05-04 18:51:38 +00:00
- node --version
- npm --version
- npm test
cache:
2017-05-04 18:51:38 +00:00
- '%APPDATA%\npm-cache -> package.json'
- '%USERPROFILE%\.electron -> package.json'
- 'node_modules -> package.json'
#---------------------------------#
# tests configuration #
#---------------------------------#
2017-05-04 19:36:45 +00:00
build_script:
2017-05-04 19:52:42 +00:00
- if %APPVEYOR_REPO_TAG%==true npm run build-n-package:win
#---------------------------------#
2017-05-04 18:51:38 +00:00
# artifacts configuration #
#---------------------------------#
2017-05-04 18:05:21 +00:00
artifacts:
2017-05-04 18:51:38 +00:00
- path: dist\win\*
2017-05-04 18:05:21 +00:00
name: dist
2017-05-04 18:51:38 +00:00
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
description: ''
provider: GitHub
auth_token:
secure: Ffmgxn+wt5WSf/jgJ/L+/3mkUs4fn9Z5j4Dz73VATsgL14Rf/xUp2nOyE0ecow+1
2017-05-04 18:05:21 +00:00
artifact: dist
on:
appveyor_repo_tag: true