-
Notifications
You must be signed in to change notification settings - Fork 52
/
appveyor.yml
40 lines (31 loc) · 1011 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
39
40
version: "{build}"
os: Visual Studio 2015
clone_folder: c:\gopath\src\github.com\git-time-metric\gtm
skip_branch_with_pr: true
environment:
GOVERSION: 1.9.7
GOPATH: c:\gopath
PROJ_DIR: /c/gopath/src/github.com/git-time-metric/gtm
install:
- rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi
- msiexec /i go%GOVERSION%.windows-amd64.msi /q
- go version
- go env
build_script:
- c:\msys64\usr\bin\bash -lc "cd ${PROJ_DIR} && make git2go-install"
- c:\msys64\usr\bin\bash -lc "/c/gopath/src/github.com/git-time-metric/gtm/script/appveyor-build.sh"
artifacts:
- path: gtm.$(appveyor_repo_tag_name).windows.tar.gz
name: gtm.zip
- path: 'gtm.developer-build-*.windows.tar.gz'
name: gtm-developer.tar.gz
deploy:
description: ''
provider: GitHub
auth_token:
secure: O47of1Osqbk2qkk1Vn228XXF/YDwev5j5YHyNPzEPJR1pxuqwPaqlvsFDVUYQoiu
artifact: gtm.zip
force_update: true
on:
appveyor_repo_tag: true