forked from pact-foundation/pact-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
45 lines (34 loc) · 1.14 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
version: "{build}"
# fix lineendings in Windows
# init:
# - git config --global core.autocrlf input
# Source Config
clone_folder: c:\gopath\src\github.com\pact-foundation\pact-go
# Build host
environment:
GOPATH: c:\gopath
GOVERSION: 1.8
PACT_INTEGRATED_TESTS: 1
PACT_BROKER_HOST: "https://test.pact.dius.com.au"
PACT_BROKER_USERNAME: "dXfltyFMgNOFZAxr8io9wJ37iUpY42M"
PACT_BROKER_PASSWORD: "O5AIZWxelWbLvqMd8PkAVycBJh2Psyg1"
init:
- git config --global core.autocrlf input
# Build
install:
# Install the specific Go version.
- rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi
# Download the latest pact standalone
- msiexec /i go%GOVERSION%.windows-amd64.msi /q
- choco install bzr
- set Path=c:\go\bin;c:\gopath\bin;C:\Program Files (x86)\Bazaar\;C:\Program Files\Mercurial\%Path%
- go version
- go env
build: false
deploy: false
test_script:
- go build -o /tmp/pact-go github.com/pact-foundation/pact-go
- ps: c:\gopath\src\github.com\pact-foundation\pact-go\scripts\pact.ps1
artifacts:
- path: '**\*.log'