forked from onivim/oni
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
65 lines (53 loc) · 1.39 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
57
58
59
60
61
62
63
64
65
# Test against the latest version of this Node.js version
environment:
nodejs_version: "8"
os: unstable
branches:
only:
- master
- /^release.*/
# Skip CI build if the changes match these rules exactly.
# Ie, if the BACKERS.md file is changed, we don't need to build.
skip_commits:
files:
- '**/*.md'
cache:
- .oni_build_cache -> package.json
platform:
- x86
- x64
# Install scripts. (runs after repo cloning)
install:
# Ensure the Git Submoduldes have been pulled down too
- git submodule update --init --recursive
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# Workaround https://github.com/npm/npm/issues/18380
- npm install -g yarn
- node --version
- npm --version
# install modules
- yarn install
- yarn run check-cached-binaries
artifacts:
- path: dist/*.exe
name: SetupExe
- path: dist/*.zip
name: ProductZip
- path: dist/media/screenshot-win32.png
name: DemoScreenshot
deploy:
- provider: GitHub
repository: onivim/oni
auth_token:
secure: 7+dYCBtYLMoaH4xvTno1mAw8mb4CPFYAcosPI8kRTmcqYKehzmhpChU825uGdaB6
draft: false
prerelease: false
force_update: true
on:
appveyor_repo_tag: true
# Post-install test scripts.
test_script:
- powershell build/script/appveyor-test.ps1
# Don't actually build.
build: off