-
Notifications
You must be signed in to change notification settings - Fork 72
/
.appveyor.yml
54 lines (44 loc) · 1.22 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
image: Visual Studio 2017
environment:
nodejs_version: "8"
appveyor_rdp_password:
secure: gkQbBWeeUvlT+qC72N3jRA==
amazon_id:
secure: XJasHnFGjZfUM5D+HTOsw0PDwusr8qbt/17iLCe3mXY=
amazon_bucket:
secure: Ot7X6ghn8v+QumFm6AOI0A==
amazon_secret:
secure: G8uQ3q+soA+TmbPzE8FmRuXDTf/XwiO+uiugok9sHrMG0Mk70e/WI0yA7DAqjNhy
platform:
- x64
init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
- ps: Install-Product node $env:nodejs_version
- yarn install --no-progress
build_script:
- yarn run compile:electron
- node --max-old-space-size=4096 ./node_modules/@angular/cli/bin/ng build -prod -aot -v
- yarn run package
test_script:
- yarn run test:electron
- yarn run test:angular
cache:
- node_modules -> yarn.lock
- "%LOCALAPPDATA%/Yarn"
- node_modules
- electron\node_modules
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
branches:
only:
- /^release\/v\d+\.\d+(\.\d+)?(-\S*)?$/
- /^master$/
deploy:
provider: S3
access_key_id: "%AMAZON_ID%"
secret_access_key: "%AMAZON_SECRET%"
bucket: "%AMAZON_BUCKET%"
folder: 'appveyor-build'
artifacts:
- path: 'build\*.exe'