2015-10-12 20:11:02 -05:00
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
|
2015-10-12 20:17:50 -05:00
|
|
|
clone_folder: c:\gopath\src\github.com\mholt\caddy
|
2015-10-12 20:11:02 -05:00
|
|
|
|
|
|
|
environment:
|
2015-10-12 20:17:50 -05:00
|
|
|
GOPATH: c:\gopath
|
2016-02-17 18:08:25 -05:00
|
|
|
CGO_ENABLED: 0
|
2015-10-12 20:11:02 -05:00
|
|
|
|
|
|
|
install:
|
2016-02-19 20:07:48 -05:00
|
|
|
- rmdir c:\go /s /q
|
|
|
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.6.windows-amd64.zip
|
|
|
|
- 7z x go1.6.windows-amd64.zip -y -oC:\ > NUL
|
2015-10-12 20:11:02 -05:00
|
|
|
- go version
|
|
|
|
- go env
|
2016-02-19 20:07:48 -05:00
|
|
|
- go get golang.org/x/tools/cmd/vet
|
2016-02-17 18:08:25 -05:00
|
|
|
- go get -t ./...
|
2015-10-12 20:11:02 -05:00
|
|
|
|
2016-02-19 20:07:48 -05:00
|
|
|
build: off
|
|
|
|
|
|
|
|
test_script:
|
2015-10-12 20:11:02 -05:00
|
|
|
- go vet ./...
|
2016-02-19 20:07:48 -05:00
|
|
|
- go test ./...
|
|
|
|
|
|
|
|
deploy: off
|