forked from Cortys/goblin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
57 lines (45 loc) · 1.24 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
version: "{build}"
platform: x64
branches:
only:
- master
# Source Config
clone_folder: c:\gopath\src\github.com\ReconfigureIO\goblin
environment:
GOPATH: c:\gopath
GOVERSION: 1.7.1
init:
- git config --global core.autocrlf input
install:
# Install the specific Go version.
- 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
- set Path=c:\go\bin;c:\gopath\bin;C:\Program Files (x86)\Bazaar\;%PATH%
- go version
- go env
- choco install make
test_script:
- make test
build_script:
- make goblin
- rename goblin goblin.exe
artifacts:
- path: goblin.exe
deploy:
auth_token:
secure: wsnHasRa0PG0IY7eHe/2I+a1CnYH8c+srYpFe2/lBieQ37SZT55+ORqd8n+md8vz
provider: GitHub
artifact: goblin.exe
draft: false
prerelease: false
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only
notifications:
- provider: Email
on_build_success: false
- provider: Slack
channel: #status
incoming_webhook:
secure: LbTv30cQKAAQHOmq90O6hFm1mjFRvZljYwtx7V00jq/HadB/IWPTwFzWFUOZMR6heHHMBxzGRmN8kRmqK5qw/q230fHqkJ4qZ+wUsiXz7VU=