This repository has been archived by the owner on Sep 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add appveyor.yml for native windows tests
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
- Loading branch information
1 parent
dd3b66e
commit 8d928c7
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# appveyor.yml reference : http://www.appveyor.com/docs/appveyor-yml | ||
|
||
version: "{build}" | ||
|
||
skip_tags: true | ||
|
||
os: Windows Server 2012 R2 | ||
|
||
environment: | ||
GOPATH: c:\gopath | ||
# Support go1.5 vendoring (let us avoid messing with GOPATH or using godep) | ||
GO15VENDOREXPERIMENT: 1 | ||
matrix: | ||
# - GOARCH: 386 | ||
# GOVERSION: 1.5.3 | ||
- GOARCH: amd64 | ||
GOVERSION: 1.5.3 | ||
|
||
clone_folder: c:\gopath\src\github.com\docker\machine | ||
|
||
install: | ||
- set Path=c:\go\bin;%Path% | ||
- echo %Path% | ||
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-%GOARCH%.msi | ||
- msiexec /i go%GOVERSION%.windows-%GOARCH%.msi /q | ||
- go version | ||
- go env | ||
- go get github.com/golang/lint/golint | ||
- go get github.com/mattn/goveralls | ||
- go get golang.org/x/tools/cover | ||
- go get github.com/tools/godep | ||
- go get github.com/aktau/github-release | ||
|
||
build_script: | ||
- mkdir bin | ||
- go build -o ./bin/docker-machine.exe ./cmd/machine.go | ||
|
||
test_script: | ||
# test this from a PowerShell | ||
- powershell -Command go test -v ./libmachine/shell | ||
# - go test -v ./... | ||
# - go vet ./... | ||
|
||
deploy: off |