forked from skycoin/skycoin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
64 lines (52 loc) · 1.12 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
55
56
57
58
59
60
61
62
63
64
image: Visual Studio 2017
platform:
- x64
clone_folder: c:\gopath\src\github.com\skycoin\skycoin
branches:
only:
- master
environment:
GOPATH: c:\gopath
GOX_OUTPUT: .gox_output
cache:
- 'electron\node_modules'
- '%LOCALAPPDATA%\Yarn'
- '%USERPROFILE%\.electron'
install:
- echo %PATH%
- echo %GOPATH%
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- go version
- go env
- go get github.com/gz-c/gox
- ps: Install-Product node 8 x64
build_script:
- cd electron
- yarn
- ps: bash ./build.sh 'windows/amd64 windows/386'
- ps: ls release\
- ps: cd ..
after_build:
- ps: 7z a skycoin.zip C:\gopath\src\github.com\skycoin\skycoin\electron\release\*
- ps: ls *.zip
test: off
artifacts:
- path: skycoin.zip
name: published
deploy:
provider: S3
access_key_id: $(AWS_ACCESS_KEY_ID)
secret_access_key: $(AWS_SECRET_ACCESS_KEY)
bucket: $(AWS_BUCKET)
region: $(AWS_REGION)
folder: wallet
artifact: published
unzip: true
set_public: true
on:
branch: master
notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false