forked from nylas/nylas-mail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
37 lines (31 loc) · 956 Bytes
/
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
version: '{build}'
branches:
only:
- master
- /ci.*/
- /stable.*/
# We need to only clone the main module because our submodule requires the
# encrypted ssh key to access submodules
install:
- ps: Install-Product node $env:NODE_VERSION
- ps: nuget install secure-file -ExcludeVersion
- ps: npm config set msvs_version 2013
build_script:
- cmd: npm install
deploy_script:
- ps: |
npm run build-client
environment:
matrix:
- NODE_VERSION: 6.9
global:
DEBUG: "electron-windows-installer:*,electron-packager:*"
SIGN_BUILD: true
INSTALL_TARGET: "client"
CERTIFICATE_FILE: .\packages\client-private-plugins\encrypted_certificates\appveyor\win-nylas-n1.p12
DECRYPTION_PASSWORD:
secure: 48VSzDtdBd52Xlo3TZ1NeR1yRRrZ3AU6Px5XjD5RDp44cFU5GYVspecGqX6DGCV7i0D7nldGMyEbXNrjM1t1Kw==
cache:
- node_modules -> package.json
- packages\client-app\node_modules -> packages\client-app\package.json
- '%USERPROFILE%\.npm'