forked from sidneys/live-wallpaper-ecorp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
51 lines (39 loc) · 1003 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
os: Visual Studio 2015
platform:
- x64
branches:
only:
- release
version: '{build}-{branch}'
cache:
- 'node_modules'
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
init:
- cmd: echo 🚦 Authorizing Build
- ps: if ($env:OS -eq "Windows_NT" -And $env:DEPLOY_WINDOWS -eq "0") { $host.SetShouldExit(0) }
- cmd: git config --global core.autocrlf input
install:
- cmd: echo 🔧 Setting up Environment
- ps: Install-Product node 7.8.0
- cmd: npm --global update npm
before_build:
- cmd: echo 📥 Installing Dependencies
- cmd: npm install
build_script:
- cmd: echo 📦 Building
- cmd: npm run build --metadata
deploy_script:
- cmd: echo 📮 Deploying
- cmd: npm run deploy
artifacts:
- path: build\output\*.exe
- path: build\output\*.yml
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/4254b68cb8c0df23d61f
method: GET
on_build_success: true
on_build_failure: true
on_build_status_changed: true
test: off