forked from Kong/insomnia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
56 lines (46 loc) · 1.31 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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
- npm install -g npm@5 > Nul
- npm config set msvs_version 2013
- npm install 7zip-bin-win # Need this for some reason
- npm install > NUL
- node --version
- npm --version
- 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