-
Notifications
You must be signed in to change notification settings - Fork 32
/
appveyor.yml
34 lines (26 loc) · 986 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
version: "{build}"
clone_folder: c:\gopath\src\github.com\manifoldco\torus-cli
platform:
- x64
environment:
GOPATH: c:\gopath
GOVERSION: 1.10
DEPVERSION: 0.4.1
init:
- git config --global core.autocrlf input
- cinst zip # zip binary from chocolatey
- cinst hashdeep # hashdeep for shasum functionality on windows
install:
- set PATH=%WIX%\bin;%PATH% # need this on appveyor
- 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;%Path%
- go version
- go env
- C:\MinGW\bin\mingw32-make bootstrap-windows
- set PATH=C:\Program Files\go-msi\;%PATH% # need this on appveyor
build_script:
- C:\MinGW\bin\mingw32-make msi
test_script:
- FOR /f "" %%G in ('go list ./... ^| find /i /v "/vendor/"') DO (go test -run=. -bench=. -v %%G)