-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy path.appveyor.yml
More file actions
50 lines (38 loc) · 979 Bytes
/
.appveyor.yml
File metadata and controls
50 lines (38 loc) · 979 Bytes
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
os: Visual Studio 2015
platform:
- x64
branches:
only:
- master
version: '{build}-{branch}'
cache:
- "node_modules"
- "%LOCALAPPDATA%\\Yarn"
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 Node
- ps: Install-Product node 9
- cmd: npm --global update npm
- cmd: npm --global install yarn
before_build:
- cmd: echo 📥 Installing Dependencies
- cmd: yarn install
build_script:
- cmd: echo 📦 Building
- cmd: npm run build --metadata
deploy_script:
- cmd: echo 📮 Deploying to GitHub
- cmd: npm run deploy
artifacts:
- path: build\output\*.exe
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/a1a9de50af1c703bfe6c
method: GET
on_build_success: true
on_build_failure: true
on_build_status_changed: true
test: off