forked from todbot/Blink1Control2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
49 lines (40 loc) · 1.15 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
os: unstable
environment:
matrix:
- nodejs_version: "8"
platform:
- x64
install:
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform;
- ps: $env:Path += ";$(pwd)\node_modules\.bin";
- ps: >
@{
"nodejs_version" = $env:nodejs_version
"platform" = $env:platform
"node binary version" = $(node -v)
"node platform@arch" = $(node -p 'process.platform + process.arch')
"npm version" = $(npm -v)
"APPVEYOR_REPO_COMMIT_MESSAGE" = $env:APPVEYOR_REPO_COMMIT_MESSAGE
"git latest tag" = "$(git describe --tags --always HEAD)"
"appveyor_repo_tag" = $env:appveyor_repo_tag
"appveyor_build_version" = $env:appveyor_build_version
"appveyor_pull_request_title" = $env:appveyor_pull_request_title
"electron_version" = $env:electron_version
} | Out-String | Write-Host;
- ps: >
npm config set progress false
npm config set spin false
build_script:
- npm install
- npm run pack
- npm run dist:draft
# show outputs
- dir dist
test_script:
matrix:
fast_finish: true
artifacts:
- path: 'dist\*.zip'
name: zips
- path: 'dist\*.exe'
name: exes