-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
55 lines (43 loc) · 1.07 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
image: Visual Studio 2015
version: "{build}"
clone_depth: 1
init:
- git config --global core.autocrlf true
branches:
only:
- master
skip_non_tags: true
platform:
- x64
environment:
matrix:
- nodejs_version: "6"
cache:
- node_modules -> package.json
- '%APPDATA%\npm-cache'
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- cmd: IF "%nodejs_version%"=="6" npm install -g npm@6
- ps: iex ./install-advinst.ps1
- npm config set spin false
- npm install -g [email protected]
- npm install -g bower
- npm install -g node-gyp
- npm install --no-optional --no-color --no-progress
- bower install
build_script:
- ember build
- ember electron:package -prod --arch ia32
- ember electron:package -prod --arch x64
- ps: AdvancedInstaller.com /build Ordino-32bit.aip
- ps: AdvancedInstaller.com /build Ordino-64bit.aip
artifacts:
- path: installers\*.msi
deploy:
release: $(APPVEYOR_REPO_TAG_NAME)
provider: GitHub
auth_token: $(GH_RELEASE_TOKEN)
draft: false
prerelease: false
on:
appveyor_repo_tag: true