forked from bitfocus/companion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
executable file
·47 lines (39 loc) · 1.13 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
image: Visual Studio 2017
platform:
- x64
cache:
- node_modules
- '%USERPROFILE%\.electron'
init:
- git config --global core.autocrlf input
install:
- ps: Install-Product node 8.12.0 x64
- npm -g i [email protected]
- curl -L -o nasminst.exe http://libgd.blob.core.windows.net/nasm/nasm-2.07-installer.exe
- start /wait nasminst.exe /S
- ps: $env:path="C:\Program Files (x86)\nasm;$($env:path)"
- git config --file=.gitmodules submodule.bitfocus-skeleton.url https://github.com/bitfocus/bitfocus-skeleton.git
- git config --file=.gitmodules submodule.bitfocus-libs.url https://github.com/bitfocus/bitfocus-libs.git
- git submodule sync
- git submodule init
- git submodule update
- cmd: bash tools/yarn.sh
- cmd: bash tools/build_writefile.sh
- yarn
environment:
TRAVIS_OS_NAME: win64
artifacts:
- path: electron-output/*.exe
name: Installer
build_script:
- yarn windist
- cmd: bash tools/build_rename_git.sh
- yarn test
deploy:
- provider: FTP
host: 80.241.92.222
protocol: ftp
username: companion
password:
secure: ONk7QHFaaI9JaZ+frqLkRZ+oYjdTgrwTVm21ZX3K0lg=
folder: deploy