forked from errata-ai/vale
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
42 lines (42 loc) · 1.31 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
version: "{build}"
os: Windows Server 2012 R2
clone_folder: c:\GOPATH\src\github.com\ValeLint\vale
environment:
GOPATH: c:\GOPATH
init:
- cmd: set PATH=C:\MinGW\bin;%PATH%
- cmd: copy c:\MinGW\bin\mingw32-make.exe c:\MinGW\bin\make.exe
install:
- set PATH=%GOPATH%\bin;c:\go\bin;C:\Ruby22\bin;%cd%;%PATH%
- cinst ansicon
- pip install docutils
- gem install asciidoctor
- curl -fsSL -o C:\wix310-binaries.zip http://static.wixtoolset.org/releases/v3.10.3.3007/wix310-binaries.zip
- 7z x C:\wix310-binaries.zip -y -r -oC:\wix310
- set PATH=C:\wix310;%PATH%
# - curl -fsSL -o C:\latest.bat https://raw.githubusercontent.com/mh-cbon/latest/master/latest.bat
# - cmd /C C:\latest.bat mh-cbon go-msi amd64
- curl -fsSL -o C:\go-msi.msi https://github.com/mh-cbon/go-msi/releases/download/1.0.1/go-msi-amd64.msi
- msiexec.exe /i C:\go-msi.msi /quiet
- set PATH=C:\Program Files\go-msi\;%PATH%
build_script:
- cmd: make setup
- cmd: make build-win
test_script:
- cmd: make ci
after_test:
- cmd: make compare
artifacts:
- path: vale.msi
name: vale.msi
deploy:
- provider: GitHub
artifact: vale.msi
draft: false
prerelease: false
auth_token:
secure: 'yRQKtmS08Vob2MlOvew+JQMHVkUYJijD88Eh59TBC98oxX6avivBwOWZXQMNPd1n'
on:
branch:
- master
appveyor_repo_tag: true