forked from bitshares/bitshares-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
40 lines (40 loc) · 1.14 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
version: 1.0.{build}
environment:
nodejs_version: "7"
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install
build: off
platform:
- x64
cache:
- node_modules
before_package:
echo Before package
after_test:
- 7z a build\html5_history_dist_%APPVEYOR_REPO_TAG_NAME%.zip %APPVEYOR_BUILD_FOLDER%\build\dist -r
- 7z a build\hash_history_dist_%APPVEYOR_REPO_TAG_NAME%.zip %APPVEYOR_BUILD_FOLDER%\build\hash-history -r
test_script:
- npm run package
- npm run build
- npm run build-hash
artifacts:
- path: build\binaries\*.exe
name: WindowsApp
- path: build\html5_history_dist_*.zip
name: html5_history_dist
- path: build\hash_history_dist_*.zip
name: hash_history_dist
deploy:
provider: GitHub
release: $(APPVEYOR_REPO_TAG_NAME)
description: "Automated release from Travis CI with added files from AppVeyor build"
auth_token:
secure: F/9ssjiE7swLmbl4JXtgpgv40kr3u6q+nbcNCs+Rw2S0VEMYBAXDwmKHQuAH8uDB
artifact: WindowsApp, html5_history_dist, hash_history_dist
draft: true
force_update: true
on:
appveyor_repo_tag: true