forked from jsreport/jsreport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
38 lines (32 loc) · 941 Bytes
/
.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
environment:
nodejs_version: "8"
artifacts:
- path: jsreport-win.zip
install:
- ps: Install-Product node $env:nodejs_version
- node --version
- npm --version
- cmd: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64'
- appveyor-retry npm install
test_script:
- node --version
- npm --version
- npm test
before_deploy:
- "copy node_modules/jsreport-cli/example.config.json dev.config.json"
- "copy executable-license.txt license.txt"
- "npm install jsreport-compile jsreport-puppeteer-compile"
- "npm run compile"
- "7z a jsreport-win.zip jsreport.exe license.txt"
- "appveyor PushArtifact jsreport-win.zip"
deploy:
provider: GitHub
auth_token:
secure: f5JMTlhWW7SKTeONrfO9hweB+AP2EY5VGAdzcM56VRNjIcY4zX7TiC7VWXrn5Dfj
artifact: /.*\.zip/
draft: false
prerelease: false
force_update: true
on:
appveyor_repo_tag: true
build: off