forked from emitter-io/emitter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
39 lines (33 loc) · 926 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
version: 2.0.{build}
platform: x64
branches:
only:
- master
clone_folder: c:\gopath\src\github.com\emitter-io\emitter
environment:
GOPATH: c:\gopath
install:
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.9.windows-amd64.zip
- 7z x go1.9.windows-amd64.zip -y -oC:\ > NUL
- go version
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go get github.com/go-playground/overalls
build_script:
- cmd: .\build.bat
artifacts:
- path: build/*
name: binary
deploy:
- provider: GitHub
auth_token:
secure: ImwOgsH/e1F+reDfqNIvoQ773FZHsjQt/4znrFdxUVrs1VNpFK9IUaW4hIL/yl4c
release: 'v$(appveyor_build_version)'
description: 'This is Emitter broker build v$(appveyor_build_version).'
draft: true
prerelease: true
artifact: binary
on:
branch: master