Adds a `make.ps1` powershell script to make it easy to compile and test.
```
.\scripts\make.ps1 -Binary
INFO: make.ps1 starting at 03/01/2018 14:37:28
INFO: Building...
________ ____ __.
\_____ \ | |/ _|
/ | \| <
/ | \ | \
\_______ /____|__ \
\/ \/
INFO: make.ps1 ended at 03/01/2018 14:37:30
.\scripts\make.ps1 -TestUnit
```
The next step is to run e2e tests on windows too.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
23 lines
462 B
YAML
23 lines
462 B
YAML
version: "{build}"
|
|
|
|
clone_folder: c:\gopath\src\github.com\docker\cli
|
|
|
|
environment:
|
|
GOPATH: c:\gopath
|
|
GOVERSION: 1.10
|
|
DEPVERSION: v0.4.1
|
|
|
|
install:
|
|
- 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
|
|
- go version
|
|
- go env
|
|
|
|
deploy: false
|
|
|
|
build_script:
|
|
- ps: .\scripts\make.ps1 -Binary
|
|
|
|
test_script:
|
|
- ps: .\scripts\make.ps1 -TestUnit |