-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
54 lines (42 loc) · 1.04 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
# comment
image: Visual Studio 2017
environment:
nodejs_version: "12"
# Post-install test scripts!
test_script:
# Output useful info for debugging
- node --version
- npm --version
# run tests
- npm test
platform:
- x64
cache:
- node_modules
- '%USERPROFILE%\.electron'
init:
- git config --global core.autocrlf input
install:
- ps: Install-Product node 12 x64
# - ps: $env:package_version = "v" + (Get-Content -Raw -Path package.json | ConvertFrom-JSON).version
# - ps: echo $env:package_version
# - ps: Update-AppveyorBuild -Version "$env:package_version:APPVEYOR_BUILD_NUMBER"
- npm uninstall node-pty --save
- npm install
build_script:
- npm run build --win
branches:
only:
- release
# If we want AppVeyor to handle deployment instead of electron-builder
# artifacts:
# - path: dist
# name: gitspeak-desktop
# deploy:
# provider: GitHub
# artifact: gitspeak-desktop
# auth_token:
# secure: 0EFPhJviDyp/yQqq+6te+ph61+3vCnmAcK7LUrHHY9a7ECXDTZqKIqDgszMkyo4B
# on:
# branch: release
test: off