-
Notifications
You must be signed in to change notification settings - Fork 18
/
.appveyor.yml
56 lines (47 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
image: Visual Studio 2017
platform:
- x64
clone_folder: c:\gopath\src\github.com\skycoin\skycoin-web
environment:
GOPATH: c:\gopath
cache:
- 'electron\node_modules'
- '%USERPROFILE%\.electron'
install:
- echo %PATH%
- echo %GOPATH%
- set PATH=%GOPATH\bin;c:\go\bin;%PATH%
- go version
- go env
- ps: Install-Product node 10.15 x64
- npm install
- cd electron && npm install && cd ..
build_script:
- npm run build
- cd electron
- cmd: bash ./build-electron-release.sh 'windows'
- ps: ls release\
- ps: cd ..
after_build:
- ps: 7z a skycoin-lite-win.zip c:\gopath\src\github.com\skycoin\skycoin-web\electron\release\*
- ps: ls *.zip
artifacts:
- path: skycoin-lite-win.zip
name: skycoin-lite-win
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-lite
artifact: skycoin-lite-win
unzip: true
set_public: true
on:
APPVEYOR_REPO_TAG: true
notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false