mirror of https://github.com/docker/docs.git
Merge pull request #2944 from dgageot/simpler-AppVeyor
Simplify AppVeyor configuration
This commit is contained in:
commit
36aed62f39
24
appveyor.yml
24
appveyor.yml
|
@ -1,5 +1,3 @@
|
||||||
# appveyor.yml reference : http://www.appveyor.com/docs/appveyor-yml
|
|
||||||
|
|
||||||
version: "{build}"
|
version: "{build}"
|
||||||
|
|
||||||
skip_tags: true
|
skip_tags: true
|
||||||
|
@ -8,37 +6,21 @@ os: Windows Server 2012 R2
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
GOPATH: c:\gopath
|
GOPATH: c:\gopath
|
||||||
# Support go1.5 vendoring (let us avoid messing with GOPATH or using godep)
|
|
||||||
GO15VENDOREXPERIMENT: 1
|
GO15VENDOREXPERIMENT: 1
|
||||||
matrix:
|
GOARCH: amd64
|
||||||
# - GOARCH: 386
|
GOVERSION: 1.5.3
|
||||||
# GOVERSION: 1.5.3
|
|
||||||
- GOARCH: amd64
|
|
||||||
GOVERSION: 1.5.3
|
|
||||||
|
|
||||||
clone_folder: c:\gopath\src\github.com\docker\machine
|
clone_folder: c:\gopath\src\github.com\docker\machine
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- set Path=c:\go\bin;%Path%
|
- set Path=c:\go\bin;%Path%
|
||||||
- echo %Path%
|
|
||||||
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-%GOARCH%.msi
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-%GOARCH%.msi
|
||||||
- msiexec /i go%GOVERSION%.windows-%GOARCH%.msi /q
|
- 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:
|
build_script:
|
||||||
- mkdir bin
|
- go build -i -o ./bin/docker-machine.exe ./cmd/machine.go
|
||||||
- go build -o ./bin/docker-machine.exe ./cmd/machine.go
|
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
# test this from a PowerShell
|
|
||||||
- powershell -Command go test -v ./libmachine/shell
|
- powershell -Command go test -v ./libmachine/shell
|
||||||
# - go test -v ./...
|
|
||||||
# - go vet ./...
|
|
||||||
|
|
||||||
deploy: off
|
deploy: off
|
||||||
|
|
Loading…
Reference in New Issue